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
Hemant Gulati 4Hemant Gulati 4 

receiving internal server error on connecting salesforce through OAuth2

I've started testing the oauth2 auth, However, when I use the correct credentials(of Sandbox Environment), (grant_type: password) I get an Internal Server Error (500 response):

An internal server error has occurred
An error has occurred while processing your request. The support team has been notified of the problem. If you believe you have additional information that may be of help in reproducing or correcting the error, please contact Salesforce Support. Please indicate the URL of the page you were requesting, any error id shown on this page as well as any other related information. We apologize for the inconvenience.

It works fine with developer edition credentials.

I have checked out the below links, but could not able to found any solution.

Please help me in this.

Thanks in advance.
NagendraNagendra (Salesforce Developers) 
Hi Hemant,

First and foremost regret the inconvenience caused.

Please check the below post which helps.

Still, if the problem persists kindly raise a case with salesforce support team.

Here's how you can reach salesforce support team.
Kindly mark this as solved if it helps.

Best Regards,
Hemant Gulati 4Hemant Gulati 4
Hi Nagendra,

Thanks for the reply.

I have already checked that link, but could not found any solution to it.

Even i had raised a case to salesforce support team , but they have told me to add this question here in developer forum, as it is a developer question.

Please help me  with this.