Free Support Forum - aspose.com

Customer could not convert ppt to pdf file format

Convert Presentation to Different File Formats without Using Storage.
Product: Saaspose.Slides
REST API
Language: Java
URI: http://api.saaspose.com/v1.0/slides/convert?format=pdf
Error 400 bad request
Customer wants to share his source code and files via email.


Submitted from: http://saaspose.com/

Hello again,

Here's my source code.

Thank you in advance,
Ricardo Espírito Santo

From:
Saaspose Support <support@saaspose.zendesk.com>
To:
Ricardo <respiritosanto@epo.org>
Date:
12-10-2012 13:53
Subject:
Request received: Customer could not convert ppt to pdf file format

Hi Ricardo,

I was able to convert different presentations to PDF using your code. The only thing I changed in your code was the following line was commented:

//Proxy proxy = new Proxy(Type.HTTP, new InetSocketAddress("proxy", 80));

Please try changing content type (e.g. httpCon.setRequestProperty("Content-Type", "multipart/form-data");) and if the problem persists, please share a sample file to reproduce the issue.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Dear Muhammad Ijaz,

The problem remains, the same error is produced even with the modification
to the content-type.

Please find attached a couple of files among the ones we attempted to
convert.

Note that this files are private and we kindly ask you not to re-share
them, publish them or make them public in some other way.

Best regards,

Ricardo Espírito Santo

From:
Support <notifications-support@saaspose.zendesk.com>
To:
Ricardo <respiritosanto@epo.org>
Date:
15-10-2012 16:24
Subject:
[Saaspose Support] Re: Customer could not convert ppt to pdf file format

Hi Ricardo,

Looks like an issue with the proxy. Can you please replace "HttpURLConnection httpCon = (HttpURLConnection) address.openConnection(proxy);" with "HttpURLConnection httpCon = (HttpURLConnection) address.openConnection();" and share if it works for you.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hello Muhammad Ijaz,

If I do that then it doesn't get past our proxy. It fails with a unknown
host exception.

Best regards,
Ricardo

From:
Support <notifications-support@saaspose.zendesk.com>
To:
Ricardo <respiritosanto@epo.org>
Date:
18-10-2012 13:22
Subject:
[Saaspose Support] Re: Customer could not convert ppt to pdf file format

Hi Ricardo,

Sorry, the issue was with trial account and I was testing with paid account. We get 'bad request' when we try to render a presentation using a trial account. This issue has been logged into our issue tracking system as SAASSLIDES-78 and we will try to fix it the earliest possible. Hopefully, the service will be updated on Monday.

We are sorry for the inconvenience.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Ricardo,

We are pleased to share that this issue has been resolved now and you can continue your testing. Please execute your tests again and let us know if you still find any difficulty.

Best Regards,
Muhammad Ijaz
Support Developer, Saaspose Sialkot Team
http://www.saaspose.com

Hi Ricardo,

Did you start your testing again after the resolution of this issue? Is it fixed for you? If you still find any issues or further questions, please do not hesitate to let us know. We'll be glad to help you.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.

Hello Shahzad,

Thank you for your concern.

I have indeed finished the tests straight after the issue was corrected.

We no longer have any technical outstanding issues pending back our
decision so it is all a mater of time before a choice is made.

Once again, thank you for all your support and I'll hope to speak to you
soon.

Best regards,

Ricardo Espírito Santo

From:
Shahzad Latif <notifications-support@saaspose.zendesk.com>
To:
Ricardo <respiritosanto@epo.org>
Date:
30-10-2012 17:54
Subject:
[Saaspose Support] Re: Customer could not convert ppt to pdf file format

Hi Ricardo,

It's good to know that the issues are resolved and we're looking forward to working with you.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.