-
Notifications
You must be signed in to change notification settings - Fork 79
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
Failed to open the uploaded document #117
Comments
This indicates an error on the server side (the server could not open your document). Does this happen consistently, even if you retry the translation? Are you sending a valid document of the supported types? |
I encounter the same error when I retry the translation, and I am uploading files of types docx, xlsx, and pptx. Can I provide the docid to help investigate the issue? |
To solve this problem, do not use the file path, send the file as a binary data stream.
|
Were you using |
Yes, you are 100% right. |
Hi,when I use the code to upload the file for translation, the translation reports an error.How can I change my code?
deepl.exceptions.DocumentTranslationException: Error occurred while translating document: Failed to open the uploaded document.
The text was updated successfully, but these errors were encountered: