+ Start a Discussion
kanhu daskanhu das 

trying to connect to a sandbox REST webservice from a Java application. Howevere I am getting "An internal server error has occurred".

I am trying to connect to a sandbox REST webservice from a Java application. Howevere I am getting "An internal server error has occurred".

Have used the TokenUrl :: https://vha--devops.cs81.my.salesforce.com/services/oauth2/token

Below is the complete error message ;

<html>
<head><title>An internal server error has occurred</title></head>
<body>
<div style="display:none;" id="errorTitle">An internal server error has occurred</div>
<div style="display:none;" id="errorDesc">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 <a href="https://help.salesforce.com/apex/hthome">Salesforce Support</a>. 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. <br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!</div>
<table cellspacing=10>
<tr><td><span style="font-weight: bold; font-size: 12pt;">An internal server error has occurred</span></td></tr>
<tr><td>
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 <a href="https://help.salesforce.com/apex/hthome">Salesforce Support</a>. 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. <br/><br/>Thank you again for your patience and assistance. And thanks for using salesforce.com!
<br><br>
Error ID: 752922053-131984 (925905458)
</td>
</tr>
<tr><td>
<br clear="all"><br><br></td></tr>
</table></td></tr></table></body></html>
APatAPat
Hi,

Can you post you connection code so that it will help us in debugging the issue.

Thanks.