Something went wrong when trying to convert your file

I am trying to convert a pptx (approx 10mb) and received the below error? Presentation includes large graphics.

image.png (17.0 KB)

@tessa.kampman

Please share your input PowerPoint Presentation via some free file sharing service. We will try to replicate the issue and share our findings with you.

Hey Tilal,

Sorry my colleague has informed me that this is a better file example:
https://we.tl/t-p1LIqRnHie

1 Like

@tessa.kampman

Thanks for sharing the input document. I have tested the scenario with PostSlidesSaveAs API Method and unable to notice any issue. Please confirm if you are using some different API method, sample code will help us to address your issue exactly.

# Get JWT Access Token
curl -X POST "https://api.aspose.cloud/connect/token" 
-d "grant_type=client_credentials&client_id=xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx&client_secret=xxxxxxxxxxxxxxxxxxxxx" 
-H "Content-Type: application/x-www-form-urlencoded" 
-H "Accept: application/json"

#convert PPTX to PDF
curl -X POST "https://api.aspose.cloud/v3.0/slides/LP Birthing for owners 43 format short prepartum 21May2020_Master.pptx/Pdf?folder=Temp" 
-H "accept: multipart/form-data" 
-H "authorization: Bearer [JWT_Access_Token]" 
-H "Content-Type: application/json" 
-H "x-aspose-client: Containerize.Swagger" 
-d "{ \"Format\": \"Pdf\"}" 
--output C:/Temp/PPTXtoPDF.pdf

We’re using this version: http://api.aspose.com/v1.1/slides/{$filename}?format=Pdf

@tessa.kampman

You are using the old API Version. Please note in API Version V3.0 is better in terms of memory management and API structure. It has its own Storage API methods as well. In this version, the query string parameter is part of the URL. Kindly use PostSlidesSaveAs API Method with JSON Web Token(JWT). It will help you to resolve the issue. And if you need any help in this regard please feel free to contact us.