Issue about the Conversion of PPT to PDF with API Calls

when I make API calls to get the link of pdf file converted from ppt to pdf, the result will be as below,
404 Client Error: Not Found for url: https://api.aspose.cloud/v3.0/slides/cover_only.pdf/saveAs/pdf

I opened the account to check the internal storage and noticed the converted file is in but can’t open after downloading.

how to solve?

@youngteambiz

It seems you are encountering a 404 error when trying to access the converted PDF file from your PowerPoint presentation. This error typically indicates that the requested resource could not be found at the specified URL. Here are some steps you can take to troubleshoot and resolve this issue:

  1. Check the File Path: Ensure that the URL you are using to access the PDF file is correct. The path should match the location where the file was saved after conversion.

  2. Verify File Existence: Since you mentioned that the converted file is present in your internal storage, double-check that the file name and extension are correct. Sometimes, the file may be saved with a different name or format.

  3. File Permissions: Ensure that you have the necessary permissions to access the file. If the file is stored in a specific folder, make sure that your API call has the correct access rights.

  4. Conversion Process: Review the API call you made for converting the PPT to PDF. Ensure that the conversion was successful and that there were no errors during the process. You may want to check the response from the API call to confirm that the conversion completed without issues.

  5. Download the File: If you can see the file in your storage but cannot open it after downloading, it may be corrupted. Try re-converting the PPT file and downloading it again. Make sure to follow the correct steps for conversion as outlined in the API documentation.

  6. API Documentation: For detailed instructions on converting presentations and handling files, refer to the official API documentation. It provides information on the required parameters and examples of how to perform the conversion correctly.

If the issue persists after trying these steps, consider reaching out to Aspose support for further assistance. They may be able to provide more specific guidance based on your account and the API calls you are making.

Sources:
[1]: Convert a Presentation and Get It in a Specified Format