Copy link to clipboard
Copied
I seem to be having a problem using the v6 api when uploading a .docx page to be signed. I cannot seem to find any help documents to help figure this issue out. Can someone help with a possible solution to the following error:
We were unable to create your agreement [DEMO USE ONLY] Example Esign For API because we had a problem converting your document file_name.docx to PDF.
When looking at the API logging, I do not see anywhere where it would display what the actual error is.
Copy link to clipboard
Copied
if you use the api to upload this file and got the error, and have tried uploading the file via the API swagger page or via the webportal and the file works, then there's an issue with how the document is uploaded by your using the transientdocument method most likely.
The conversion error indicates a bad/corrupted file. While you may have not gotten an error in response to transientdocument method, the file is only processed proper with the post/agreements method.
usually it's a case of using the wrong mimetype in the transientdocument method, or some other issue with the multi part file.