John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

REST Service Not working...

Hi, I have a particular REST Service (actually another one too) that is popping out an error message when in fact theres no error. I had this Service work perfectly for weeks and all of a sudden i get an error message when the service doesnt return an error. I even deleted the service and added it back from scratch and get the same result. I just dont know at this point what I did to affect it. I do have like 4 services being invoked with one button, but the other are working fine... Well, I have no idea what to do here, so can you guys look into this and find out whats the problem? I appreciate it...

SO, I shared my app with you guys.

Go to:
Driver Login My Profile Save

WHen you click the Save button you should get a Success Popup. But the error message comes up. I did a raw test on my Service and it works just fine. The name of the REST service at issue is: Update_Driver_ID2

Please let me know how Im passing a good raw test but on a real device it gives an error??

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST Service Not working...

Please check in the console if you get any errors...

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

REST Service Not working...

i checked and no errors came up...

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST Service Not working...

What's the error message that you get?

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

REST Service Not working...

Hi Max, I have written this JS in case an error occurs after the service is invoked:

alert("Fatal Error Occurred, Please Try Again");

And that is the message that I get. WHat that tells me is that the Service is getting an Error and it was not successful.

As of right now, the problem has grown to all the services that are binded on that one same button. Its on the 'driver_profile' page connected to the 'Save' button. There are 4 Services will be invoked on click.

Besides that one page, there are other REST services that were working yesterday and today are not working no longer. It seems like theres a problem that is beyond my app (perhaps). When I test these Services in your Raw forum, they respond with no problem. So, please do let me know when these issues are fixed. I hope very soon. Thanks.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST Service Not working...

Do the services us the proxy?

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

REST Service Not working...

Yes I am using the Appery Proxy

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST Service Not working...

There is an issue with proxy. We already got a fix. It will be released on Monday.

'GET' should still work. Are you doing GET or POST/DELETE/PUSH?

John Herdean
Posts: 0
Joined: Tue May 14, 2013 3:56 am

REST Service Not working...

Uhmm Actually the gps device service stopped working, and both GET and POST services are not working for me. There are some GETs and POSTs that are still working and some that are not.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

REST Service Not working...

The GPS (Geolocation) doesn't go via the proxy at all -- it's a native call. It might be something else.

Are you seeing any error messages for the services that don't work?

Return to “Issues”