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

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) #114

Open
vinodvarma24 opened this issue Sep 7, 2023 · 0 comments

Comments

@vinodvarma24
Copy link

Many times, we are getting this error, This should be solved immediately.

This is causing a lot of delay in getting response and it sometimes doesn't even give any responce.

Traceback (most recent call last):
--
File "/usr/local/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 396, in generate_response_sync
self._input_handler(user_request)
File "/usr/local/lib/python3.10/site-packages/codeinterpreterapi/session.py", line 322, in _input_handler
self.codebox.upload(file.name, file.content)
File "/usr/local/lib/python3.10/site-packages/codeboxapi/box/codebox.py", line 195, in upload
**self.codebox_request(
File "/usr/local/lib/python3.10/site-packages/codeboxapi/box/codebox.py", line 87, in codebox_request
return base_request(
File "/usr/local/lib/python3.10/site-packages/codeboxapi/utils.py", line 104, in base_request
return handle_response(response)
File "/usr/local/lib/python3.10/site-packages/codeboxapi/utils.py", line 53, in handle_response
json_body=response.json(),
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
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

1 participant