Hello Community,
We urgently need your assistance with integrating the Aspose API into our WeWeb application. Our goal is to upload PPTX files and convert them into HTML5. Despite our best efforts, we keep encountering a 400 (Bad Request) error. Here’s a summary of what we’ve done so far:
- Token Retrieval:
- Successfully obtained a token from Aspose and stored it in a variable.
- URL and Header Configuration:
- The URL is dynamically constructed and correctly encodes the file name.
- The header contains the properly formatted Authorization token.
- Body Configuration:
- The file is sent as “file” in the body of the request.
Issue Description
Despite the correct implementation, we encounter a 400 error when uploading PPTX files. Here are some points we have already checked:
- URL: The file name is correctly encoded, and the storage name (PowerPoint) appears to be correct.
- Header: The Authorization header is correctly formatted.
- Body: The file is sent in the correct format.
Questions for the Community
- Troubleshooting: What further steps can we take to identify the exact cause of the 400 error?
- Experiences: Has anyone had similar experiences and can provide specific tips on what we might be missing?
- Best Practices: Are there any best practices or specific instructions for working with the Aspose API in combination with WeWeb that we should follow?
We appreciate any help and advice! We aim to resolve this issue as soon as possible to continue developing our application.
Thank you in advance for your support!
Best regards