Fernando Lopez Velazquez

Results 2 comments of Fernando Lopez Velazquez

To solve this problem, do not use the file path, send the file as a binary data stream. ``` with open(file=filepath, mode="rb") as f: doc_handle = translator.translate_document_upload(input_document=f.read(),... ```

Yes, you are 100% right. `translate_document_from_filepath()` works fine with a filepath, but my app needs to execute the steps individually, so I had to use `translate_document_upload()`, `translate_document_get_status()`, and `translate_document_download()`. You...