+ Start a Discussion

REST Callout Occasionally Returns 400 error

I've been working on the Box REST API in Apex. I have run into a problem where occasionally I get a response of 400 Bad Request. If I retry the call, it works, but this isn't a good solution as some of my callouts run in batch and I can't have more than one callout. I posted on the Box developer forum and they think it is a problem with Salesforce (http://forum.developers.box.net/box_developers/topics/salesforce_callout_getting_frequent_response_400_bad_request). Has anybody else run into a similar issue? Could it be a bug with Salesforce?