You need to sign in to do that
Don't have an account?
Whyser
Random 503 Service Unavailable Errors while testing
We've only recently discovered this in our testing, but we seem to be getting random 503 errors while doing testing of our .NET code against Salesforce Sandbox.
It always seems to happen during a query call.
When tests are re-run, it seems to throw that error in different places in the test, there seems to be no consistency for when I receive these 503 errors.
Is there anyway to tell whether I am hitting any of the API call limits (25 concurrent calls)?
I tried to do debug monitoring in Salesforce, but unfortunately, they only record 20 logs (the tests we do are a lot more), so we've been unsuccessful in capturing the issue in those logs.
Help anyone?
It always seems to happen during a query call.
When tests are re-run, it seems to throw that error in different places in the test, there seems to be no consistency for when I receive these 503 errors.
Is there anyway to tell whether I am hitting any of the API call limits (25 concurrent calls)?
I tried to do debug monitoring in Salesforce, but unfortunately, they only record 20 logs (the tests we do are a lot more), so we've been unsuccessful in capturing the issue in those logs.
Help anyone?
Checking the API requests for the last 24 hours, we are well under the limit (about 40k requests out of 5 million).
Do you know if there's anyway to check whether we are hitting the 25 concurrent calls API limit?
503 Service Unavailable
Types of service issues are listed below. Be sure to check the X-Google-Command header to determine whether a retry is allowed.
Timeout
Server error
Service unavailable
Insufficient quota
https://developers.google.com/analytics/devguides/reporting/core/v2/gdataReferenceDataFeed
If the upload operation is interrupted or gets an HTTP 503 or 500 response, you should query for the number of bytes it has received by implementing another PUT Object request. The PUT Object request must have the following:
An empty entity body.
A Content-Length request header, which must be set to 0.
A Content-Range request header, which specifies the byte range you are seeking status for.
An upload_id query string parameter, which specifies the upload ID for the resumable upload.
https://developers.google.com/storage/docs/concepts-techniques
503 – Service Unavailable All Events The end-point is unable to handle the API call. For example, there is scheduled downtime for the end-point back-end systems. The Push API will retry three times, and then suspend the call.
https://getsatisfaction.com/corp/help/api-resources/
See the examples in the doc,
https://www.salesforce.com/us/developer/docs/api_rest/Content/dome_upsert.htm
Reply back if you have further questions.
Thanks
Vikash_SFDC