We wrote an application that consumes the SharePoint 2010 REST API. The application works fine in our Dev and Test environments. When we try our production site we get a 500 status code and the following is in the response body.
{
"error": {
"code": "",
"message": {
"lang": "en-US",
"value": "An error occurred while processing this request."
}
}
}
We have checked for code, and list definition mismatches against all environments. We have checked the SharePoint and Windows application logs. We are checking to see if maybe some bad data is causing the problem.
Really scratching our head over here on this one.
Any ideas would be much appreciated.
Background
- SharePoint 2010 Server
- Using SharePoint 2010 REST service
listdata.svc
- Using AngularJS $http service to call the REST API
- Only one of 6 Lists return the 500 errors
- Can reproduce error using Postman.
Update
We have confirmed that it is not a data issue.
$filter
to avoid offending records allows the query to finish. – Zarepheth