0

I am trying to convert docx file to pdf using convertapi. The language i am using is Python and also i am doing some jinja2 templating in docx file. Everything works well with Android and web app. But it give 500 Internal server error while using in IOS device.

convert_api_result = convertapi.convert('pdf',
                                                {'File': demo_file.name},
                                                from_format='docx')

Error: raise ReadTimeout(e, request=request)\nrequests.exceptions.ReadTimeout: HTTPSConnectionPool(host='v2.convertapi.com')

I don't know why is this happening. Any help would be appreciated.

0 Answers0