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
ShaminaShamina 

Apex REST internal server error after Spring 12 Sandbox preview

Hello,

In our sandbox environment, we have developed some custom Apex REST API which were executing successfully prior to Spring 12 Sandbox preview.

But following Spring 12 preview, all the Apex Web services, exposed through the REST API architecture, are generating an internal server error when being called from an external system. We are not able to find the cause of the error since we do not have any log messages generated in system debug logs.

 

We have logged a case and Salesforce is still investigating this issue. Has anbody encountered this  ? 

Please find below the error generated when trying to call an Apex REST API from an external system :

<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://na1.salesforce.com/_ui/training/help/pub/UserEdSolution?id=50130000000M9gH&orgId=00D000000000062">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!
<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://na1.salesforce.com/_ui/training/help/pub/UserEdSolution?id=50130000000M9gH&orgId=00D000000000062">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: 688850227-38920 (-419261755)
</td>
</tr>
<tr><td>
<br clear="all"><br><br>



</td></tr>
</table>

</td></tr>
</table>



</body>
</html>

Best Answer chosen by Admin (Salesforce Developers) 
pmorellipmorelli

Yes, we had a bug, and the fix was released last week.  Glad to have external confirmation. ;o)

All Answers

pmorellipmorelli
We'll take a look. Thx.
ShaminaShamina

Hello,

 

We are no longer having the internal error now. It seems to be a temporary issue.

 

Have you been able to find the cause  ?

 

Regards

pmorellipmorelli

Yes, we had a bug, and the fix was released last week.  Glad to have external confirmation. ;o)

This was selected as the best answer
ShaminaShamina

Ok thank you