Rest API request timeout

We use Salesforce integration with WCF service. Currently, we are facing an issue of operation has timed out. We add chatter feed with mention using REST API and other operations doing using SOAP API. After the some requests of REST API, all operations are getting timeout. We create Salesforce connection in every time and dispose it every time in operation. We are unable to identify the issue.

If someone can help me.


You can set REST API call-out time to maximum 120 second. If your .NET application is unable to process request in 120 seconds then you will have to optimize .net webservice. Default timeout is 10 seconds.


        HttpRequest req = new HttpRequest();

Source : Link , Question Author : Girish , Answer Author : Ashwani

Leave a Comment