-
Notifications
You must be signed in to change notification settings - Fork 97
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
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #48
Comments
Hello @pythonicable You did not received json document. The error is catchable here https://github.com/nikitastupin/clairvoyance/blob/main/clairvoyance/client.py#L59, however this forward an error at the runtime. I assume you are running the program in CLI, you will import headers like curl does.
Can you update the issue once you tried with correct headers? |
yes. I imported the correct headers, and it throws me the same error after a bit. |
Have the same problem. The issue is that server starts blocking requests with 403 error at some point. Probably just too many at the same time (default is 50 threads). Might try to reduce threads to 1 with '-c' option. |
Sorry for extremely late response. The error was caused by rate limiting on the server side. Currently all the similar issues are covered by #107. If you feel that this is the Clarivoyance's issue, then feel free to open a new issue or write here. |
this happening all the time
Also can't import headers, how do I import them correctly?
The text was updated successfully, but these errors were encountered: