deepl-python icon indicating copy to clipboard operation
deepl-python copied to clipboard

Connection failed: ('Connection aborted.', TimeoutError('The write operation timed out'))

Open tomozilla opened this issue 2 years ago • 3 comments

When I called for documentation translation for about 15MB, it failed to upload. Docs less than 10MB is usually fine.

Translate the document

translator.translate_document_from_filepath( input_path, output_path, source_lang=SOURCE_LANGUAGE, target_lang=TARGET_LANGUAGE, glossary = my_glossary )

tomozilla avatar Sep 01 '23 06:09 tomozilla

Hey, are you using the free API or Pro? Our size limits are documented here (Sorry for not having them under the other API docs, we are in the process of fixing them.)

JanEbbing avatar Sep 01 '23 08:09 JanEbbing

I am using API Pro to upload and translate doc with 16MB, and this error happened.

tomozilla avatar Sep 02 '23 12:09 tomozilla