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 salesforce.com 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.

http://salesforce.stackexchange.com/questions/20559/what-is-the-use-of-setting-oauth-callback-url-as-https-login-salesforce-com-se
http://gersic.com/oauth-2-0-for-salesforce-com/
https://developer.salesforce.com/forums/?id=906F00000009CYeIAM

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.
https://developer.salesforce.com/forums/?id=906F00000009CYeIAM

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

Here's how you can reach salesforce support team.
  • https://help.salesforce.com/apex/HTViewSolution?id=000123530&language=en_US
  • https://help.salesforce.com/HTViewSolution?id=000001000&language=en_US
  • support@salesforce.com
Kindly mark this as solved if it helps.

Best Regards,
Nagendra.P
 
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.

Thanks,
Hemant