Ravi
Posts: 0
Joined: Thu Jun 11, 2015 10:27 am

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

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

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

Hello,

Please enable proxy and send us also screenshot of response tab

Ravi
Posts: 0
Joined: Thu Jun 11, 2015 10:27 am

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

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

Ravi
Posts: 0
Joined: Thu Jun 11, 2015 10:27 am

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

Please provide me a solution to this problem.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

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

Hi Ravi -

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

Ravi
Posts: 0
Joined: Thu Jun 11, 2015 10:27 am

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

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

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

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

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?

Ravi
Posts: 0
Joined: Thu Jun 11, 2015 10:27 am

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

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

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

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)

Return to “Issues”