We seem to be hitting intermittent 500 errors with MailMerge requests and consistent 400 errors when trying to upload files to cloud storage to then be converted.
Equally, we can’t seem to upload files to cloud storage at all be it your own storage servers or other services. We use the PHP SDK to execute our requests and use the following code:
We are sorry for the inconvenience. I just checked the Upload and MailMerge API with Aspose.Words Cloud SDK for PHP and unable to replicate the issue. We will appreciate it if you please share your sample code along with the PHP SDK version. We will investigate the issue and guide you.
I’ve just tried your example substituting for the relevant files and I get a 400 error every time. It’s worth noting we prefer to use the executeMailMergeOnline request.
It’s also worth noting that our code hasn’t changed and we were getting successful requests last week but today we have been unable to perform conversions from docx to pdf.
We use composer for the install so it should be using the latest version of the SDK:
We also implemented a solution using cURL and infrequently get http errors that just hang which matches the intermittent 500 error which we were getting with the PHP SDK.
< content-type: application/json; charset=utf-8
< server: Kestrel
* HTTP error before end of send, stop sending
<
It is quite a strange issue. We have logged an investigation ticket (WORDSCLOUD-1390). We keep you updated about the issue resolution progress within this thread.
Please note the second parameter in UploadFileRequest API method is the cloud storage path including file name and folder where to upload a file. I noticed that when we pass an empty value against the parameter API throws a 500 error, otherwise works fine. Please verify it at your end. However, if you still face the issue, then kindly share your complete MailMerge sample code here with us to replicate the issue.