function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

System.CalloutException: IO Exception: Read timed out

hi can somebody help me how to solve this issue


It will timeout if the listener doesn't respond in time.

Maybe set a timeout on your callout and add error handling with a try catch.



More info:


HttpRequest req = new HttpRequest();
req.setTimeout(2000); // timeout in milliseconds