-
Notifications
You must be signed in to change notification settings - Fork 717
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
JSONDecodeError: Expecting value #22
Comments
I'm not sure where the error actually happened. Could you give me some more information such as length of the text, or http response( |
Hi, i use ipdb for geting this error text.
|
raise JSONDecodeError("Expecting value", s, err.value) from None trans = Translator() or trans.translate('asdsa\x44\x44asdsa') |
@gromov-alar so it looks like it's expected behavior that the text size should be less than 15K, as I mentioned in the README. |
I am trying to translate multiple text documents from english to french. it worked fine then all of a sudden this error showed up.
raise JSONDecodeError("Expecting value", s, err.value) from None
JSONDecodeError: Expecting value
Any idea how to fix it?
Here is my code:
The text was updated successfully, but these errors were encountered: