Page 1 of 1

Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Thu Jun 11, 2015 10:27 am
by Ravi

I have created a rest service to web service available. This is the service I created and TEST response screenshots:

Image

Image

Image

Response:
Image

This rest service works fine in the TEST tab under Service Settings but I get an error in the app window.

Note: I have tried applying appery.io proxy and also without proxy, result is the same.
I have attached the error screenshots here:

1)Error with appery.io Proxy
Image

2)Error without any Proxy
Image

Please, help me with this issue as soon as possible...
Thank you.


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Thu Jun 11, 2015 1:23 pm
by Serhii Kulibaba

Hello,

Please enable proxy and send us also screenshot of response tab


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Thu Jun 11, 2015 1:39 pm
by Ravi

Hi,
I tried enabling the proxy yet the error persists. The screenshots of the error were included in the original post. Here are the screenshots of the response tab(Proxy enabled):

Image

Image


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Sat Jun 13, 2015 1:12 pm
by Ravi

Please provide me a solution to this problem.


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Sat Jun 13, 2015 2:00 pm
by Illya Stepanov

Hi Ravi -

You can also try enabling old proxy implementation for your service: https://devcenter.appery.io/documenta...


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Sat Jun 13, 2015 6:18 pm
by Ravi

I tried enabling the old proxy implementation. The error is still the same.


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Sun Jun 14, 2015 6:49 am
by Illya Stepanov

Are you sure your service is configured to accept such request from outside?

Could you please check, for example with Postman REST client to make a request to your service, and post the result here?


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Sun Jun 14, 2015 9:14 am
by Ravi

Yes, it is configured for outside requests. The result of the postman REST client is correct. Please see the result screenshot below:
Image


Rest service works in TEST Settings of REST Service but gives an error in the app.

Posted: Mon Jun 15, 2015 8:09 pm
by Serhii Kulibaba

Could you send us service parameters for testing? If you don't want write them here you can send via private message (a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a)