You need to sign in to do that
Don't have an account?
Yogesh Kumar
Rest API becomes not responding
Sometimes Rest API becomes not responding, on retrying it works fine. We are facing this issue with first request only subsequent requests responded successfully.
I am using Rest API to fetch account information-
instanceUrl + "/services/data/v27.0/query?q=Select+id,+Name+FROM+Account+WHERE+OwnerId='" + userId + "'";
Here are the steps how we have implemented:
- Using OAuth get access token
- Build Authorization header and execute above http request
Make sure you are not behind a firewall/proxy. Also, do you get the same results when you test the REST calls from other networks? Try making the same REST call from some browser add-ons like RESTClient (FF) or Dev HTTP Client (Chrome) to check if you get same result.
Thanks!