Free Support Forum -

400 bad request error upon uploading PPTX file

Good morning. I am trying to use the sample “How to Save Presentation to Other Formats (.NET REST)” –

I have a .ppt file that works fine when saving to a PDF. Another file – with the extension .pptx – errors on this line –

UploadFileBinary(@"" + filePath, signedURI, “PUT”);

“The remote server returned an error: (400) Bad Request.”

Any thoughts?



Submitted from:

Could it have to do with file size? The .pptx file was around 2MB. When I removed some slides and got it down to under 500kb, the upload worked fine.



Ah, never mind. I didn't realize that a limitation of the trial was "1MB Max File Size".

Hi Saul,

Good to know that you have sorted the issue out. Please feel free to contact us in case you find any other issue in utilizing Saaspose service.

Best Regards,
Muhammad Ijaz

Support Developer, Saaspose Sialkot Team

Thanks. You can close this case.