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)” –

http://saaspose.com/docs/display/slides/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?

Thanks!

–saul


Submitted from: http://saaspose.com/

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.

Thanks.

--saul

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
http://www.saaspose.com

Thanks. You can close this case.