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
itstaff1.3920641347534116E12itstaff1.3920641347534116E12 

(500) Internal Server Error

Using an ASP.Net application, I am making a REST Call to the API in Salesforce, however I am getting the 500 Internal Server Error. The exception is thrown when I try to get the response from the server. The line of code that is making the call is the following:

Dim response as Net.HttpWebResponse = CType(request.GetResponse(), Net.HttpWebResponse)

This is where the exception is being thrown. This used to work however only recently this has been an issue. Did something change on Salesforce's side with a new release?

Thanks.
SonamSonam (Salesforce Developers) 
Don't see any knowln issues related to REST: With this internal server error, are you getting any error ID with the similar format as this : 183966601-16768 (-1438542958)
This will help us track the error in the app logs better.