I have a service that uses Aspose Cloud REST API to convert PPTX files to series of SVG pictures.
The workflow is:
PUT https://api.aspose.cloud/v3.0/slides/storage/file/<file name>
POST https://api.aspose.cloud/v3.0/slides/async/<file name>/Svg
- Poll for status using
GET https://api.aspose.cloud/v3.0/slides/async/<operation ID>
until status changes to one of the final ones (Finished, Failed or Canceled).
- If the operation is finished, download the results:
GET https://api.aspose.cloud/v3.0/slides/async/<operation ID>/result
That worked fine for some time, but recently 30-50% of conversions started to fail at the last step. The API returns status “Finished” at the step 3 but then an attempt to download results fails with 400 status and the following body:
{
"requestId": "689bb73d-b39c-4efe-9d36-a71beb3e9da2",
"error": {
"code": "UnexpectedObjectType",
"message": "Operation is not finished",
"description": "The object type is different from the expected",
"dateTime": "2024-10-11T16:32:49.5567638Z"
}
}
This looks like an API bug to me because the result usually becomes available in awhile after the failure.
Has anyone else encounter this?
@lumentric,
Thank you for contacting free support. It will take me some time to investigate the case. I will get back to you soon.
1 Like
@lumentric,
Thank you for your patience. Unfortunately, I was unable to reproduce the errors you described. Please share the following additional files and information:
- sample presentation file
- code example to reproduce the error
- Aspose.Slides SDK version you are using
@andrey.potapov here is a node.js script that allows to reproduce the issue. Please refer to the readme file from archive for more info on how to run it.
aspose-slides-debug.zip (175.4 KB)
@lumentric,
Thank you for the issue details. It will take me some time to investigate the case. I will get back to you soon.
@lumentric,
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.
Issue ID(s): SLIDESCLOUD-1992
You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.
Hello @andrey.potapov, just curious if you could share any updates on this? Has the issue been identified internally and if so are you planning a fix?
@lumentric,
The issue has been resolved. The fix will be included in Aspose.Slides Cloud SDKs 24.10. This release will be published soon.
1 Like
Hello again @andrey.potapov, do you have an ETA on 24.10?
@lumentric,
The issue appears to be fixed. It looks like it was an infrastructure bug. Could you please test the problem on your end?
@andrey.potapov it looks like the issue is indeed resolved.
@lumentric,
We are glad that the issue has been resolved on your end. Thank you for using Aspose.Slides Cloud.