You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO:pycti.entities:Reading Report {78c46a28-87e8-421a-814a-022eb86a5e77}.
ERROR:pycti.api:Cannot query field "x_opencti_reliability" on type "Identity". Did you mean to use an inline fragment on "Organization"?
Traceback (most recent call last):
File "c:\Users\xxxx\pyopenctiv2.py", line 63, in
report = opencti_api_client.report.get_by_stix_id_or_name(stix_id="78c46a28-87e8-421a-814a-022eb86a5e77")
File "C:\Users\basti\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pycti\entities\opencti_report.py", line 612, in get_by_stix_id_or_name
object_result = self.read(id=stix_id, customAttributes=custom_attributes)
File "C:\Users\xxxxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pycti\entities\opencti_report.py", line 587, in read
result = self.opencti.query(query, {"id": id})
File "C:\Users\xxxxxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pycti\api\opencti_api_client.py", line 374, in query
raise ValueError(
ValueError: {'name': 'Cannot query field "x_opencti_reliability" on type "Identity". Did you mean to use an inline fragment on "Organization"?', 'message': 'Cannot query field "x_opencti_reliability" on type "Identity". Did you mean to use an inline fragment on "Organization"?'}
The text was updated successfully, but these errors were encountered:
Hello @TheGreenmouse,
Does your python client have the same version as opencti ? x_opencti_reliability is well defined in Identity type, but was added in 5.10.
Description
Hello,
I tried to get a report from STIX2, using the "Standard STIX ID".
But I get the error 'Cannot query field "x_opencti_reliability"
Environment
Reproducible Steps
I just want to get a report from my OpenCTI using Python :
Expected Output
The report.
Actual Output
INFO:pycti.entities:Reading Report {78c46a28-87e8-421a-814a-022eb86a5e77}.
ERROR:pycti.api:Cannot query field "x_opencti_reliability" on type "Identity". Did you mean to use an inline fragment on "Organization"?
Traceback (most recent call last):
File "c:\Users\xxxx\pyopenctiv2.py", line 63, in
report = opencti_api_client.report.get_by_stix_id_or_name(stix_id="78c46a28-87e8-421a-814a-022eb86a5e77")
File "C:\Users\basti\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pycti\entities\opencti_report.py", line 612, in get_by_stix_id_or_name
object_result = self.read(id=stix_id, customAttributes=custom_attributes)
File "C:\Users\xxxxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pycti\entities\opencti_report.py", line 587, in read
result = self.opencti.query(query, {"id": id})
File "C:\Users\xxxxxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pycti\api\opencti_api_client.py", line 374, in query
raise ValueError(
ValueError: {'name': 'Cannot query field "x_opencti_reliability" on type "Identity". Did you mean to use an inline fragment on "Organization"?', 'message': 'Cannot query field "x_opencti_reliability" on type "Identity". Did you mean to use an inline fragment on "Organization"?'}
The text was updated successfully, but these errors were encountered: