ben.bourdin
ben.bourdin

Reputation: 1362

Facebook Graph API intermittent 500 response, error code -3 when posting videos

I sometimes get the following error message from v2.4 of the Facebook Graph API when making a POST request to page/videos endpoint:

ApiResponseCode: 500
ApiExceptionType: FacebookGraphException
ApiErrorMessage: Received Facebook error response of type : Please reduce the amount of data you're asking for, then retry your request (code -3, subcode null)

Note that this is restFB's Java version of the exception, which as far as I know simply parses the HTTP response into a FacebookGraphException

This is an intermittent issue and represents a very small percentage of our daily calls to this endpoint. I'm guessing this is something to do with API rate limiting but I can't be sure as we usually get a different error message, with code 4 (not -3), for rate limiting as per the following documentation

Any help in debugging this issue would be greatly appreciated! I can't find anything online relating to this error code. Thanks

-- EDIT

I'm using the resumable upload protocol in an attempt to post videos using the Graph API. The videos in question are all way under 1.75GB in size and much less than 45min in length

-- EDIT 2

Looks like this has gotten a tiny bit of attention as the error code has changed from -3 to 1. The full response now being: Please reduce the amount of data you're asking for, then retry your request (code 1, subcode null)

Upvotes: 1

Views: 1194

Answers (1)

ben.bourdin
ben.bourdin

Reputation: 1362

This was confirmed as a bug by Facebook and a fix has been pushed. They did not provide any additional technical details

Upvotes: 1

Related Questions