You need to sign in to do that
Don't have an account?
sumanth v 7
System.CalloutException: Read timed out
I am facing this error in REST API webservice callout. Could you any one help to resolve this?
Note: I tried in giving req.setTimeout(20);
req.setEndpoint(toolingendpoint);
req.setMethod('GET');
Http h = new Http();
req.setTimeout(20);
HttpResponse res = h.send(req);
Note: I tried in giving req.setTimeout(20);
req.setEndpoint(toolingendpoint);
req.setMethod('GET');
Http h = new Http();
req.setTimeout(20);
HttpResponse res = h.send(req);
can you increase the time to 120,000 and try out.If you will get the read time out then you will have to check for the endpoint URL. Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.
I tried by giving 120000 as well, though facing the same issue.
Can you please explain how to check the endpoint URL?
Hi @sumanth v 7,
Were you able to solve it or find how it can be done? I'm facing the same issue.