-
Notifications
You must be signed in to change notification settings - Fork 117
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
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc4 in position 10: invalid continuation byte #267
Comments
Hi, I am facing the same error. Please let me know if you resolved it. |
Hi there! Do you have a file that reproduces the issue that you're able to share? |
Same problem via unstructured-python-client: If I try to send some file with e.g. encoding UTF-16 and it will not work. I'm not sure if the issue is with the unstructured-python-client not encoding the form-post correctly or setting the accept header correctly, or if it's a problem with the server API. |
Hi @andrePankraz , can you clarify how you're making the API call? The server does take a |
Have you really tested it with an utf-16 file?
{"detail":"'utf-8' codec can't decode byte 0xff in position 0: invalid start byte"} |
Hey @awalker4 , my file was corrupted while formatting it. There's no issue from the library. |
The text was updated successfully, but these errors were encountered: