Free Support Forum - aspose.com

Not able to access your Rest API

I am trying to access your Java Rest API, however I am getting internal server errot.
See Error below,
“java.io.IOException: Server returned HTTP response code: 500 for URL: http://api.saaspose.com/v1.0/pdf/convert?format=html&appSID={appSID}&signature={signature}


Submitted from: http://saaspose.com/blog/

Hi,

From error description, it looks like App SID and App Key are not set properly (or App Key is provided instead of App SID to SaasposeApp.setAppSID method). Please make sure if App SID and App Key are set properly and share your complete code if the problem persists.

You can also download SaasposeApp.java and Utils.java from https://github.com/saaspose/Saaspose.SDK-for-Java/tree/master/Saaspose.SDK/src/com/saaspose/common and use this REST example http://saaspose.com/docs/display/pdf/Convert+Local+PDF+File+to+HTML+without+using+Storage+%28Java+REST%29

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

Hi Muhammad,
Thanks for your feedback. I am still facing the same issue. I have
attached my java file. Please have a look and give me solution.

Looking for your valuable feedback.

Reagrds,
Nandha

Hi Nandha,

Same code is working for me so there is no issue in your code. I would like to share that you can process up to 1 MB files with trial account. Can you please confirm if your file is smaller than 1 MB? If you can share the input file, that will be helpful in reproducing the issue. Sorry for the inconvenience.

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

Thank you Muhammad. Yes, my file size greater than 1 MB that caused this
issue. Can you please tell how can I convert bigger files (>1MB)?.

Regards,
Nandha

Hi Nandha,

Sorry, we have 1MB restriction for trial accounts; you can either test with smaller files or sign up for Startup plan ($15 per month). Startup plan allows you to process up to 2MB files and if your files are larger than 2MB, you can pay additional $10 to process up to 10MB files or $20 to process up to 20MB files.

Please feel free to contact us in case you have further comments or questions.

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

Hi Nandha,

How is your testing with Saaspose APIs going on? Do you need any further help while using the APIs? If so, please do let us know. We'll be glad to help you.

Thanks & Regards
Shahzad Latif
Saaspose Support Team.