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

getting data back with debug, but it never gets written to result.txt because of the error below #9

Open
jamenlang opened this issue Oct 24, 2017 · 1 comment

Comments

@jamenlang
Copy link

Traceback (most recent call last):
File "siem.py", line 473, in
main()
File "siem.py", line 190, in main
process_endpoint(endpoint, opener, endpoint_config, token)
File "siem.py", line 244, in process_endpoint
write_json_format(results, siem_logger)
File "siem.py", line 254, in write_json_format
for i in results:
File "siem.py", line 327, in call_endpoint
events = json.loads(events_response)
File "/usr/local/lib/python3.4/json/init.py", line 312, in loads
s.class.name))
TypeError: the JSON object must be str, not 'bytes'

@dhruvi-modi
Copy link

This issue seems to be resolved in Siem2.0. Please check with latest build. Let us know If you still facing the error with the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants