Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ImportFileStix] Error in message processing, reporting error to API #2701

Open
dominictory opened this issue Sep 24, 2024 · 0 comments
Open
Labels
bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team

Comments

@dominictory
Copy link

On 6.3.1, I am seeing the below error for ImportFileStix:

{"timestamp": "2024-09-24T09:20:34.869767Z", "level": "ERROR", "name": "ImportFileStix", "message": "Error in message processing, reporting error to API", "exc_info": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.11/site-packages/pycti/connector/opencti_connector_helper.py\", line 352, in _data_handler\n    message = self.callback(event_data)\n              ^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"/opt/opencti-connector-import-file-stix/import-file-stix.py\", line 38, in _process_message\n    bundle = json.loads(file_content)[\"objects\"]\n             ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^\nKeyError: 'objects'"}

This is occurring quite often in my platform, which was started this morning, with approximately 50 errors.

@dominictory dominictory added bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected needs triage use to identify issue needing triage from Filigran Product team
Projects
None yet
Development

No branches or pull requests

1 participant