I manage several Businesses and Pages.
When requesting the API for converastions i get an error for some pages and success for other pages.
The endpoint im requesting is:
https://graph.facebook.com/v20.0/${page_id}/conversations?access_token=${access_token}&fields=${fields}
Fields: name,id,updated_time,messages{created_time,from,id,message,attachments.limit(10){file_url,video_data,size,name,mime_type,image_data,id,generic_template},to},participants
(Changing API version does not change the outcome).
The error that im receiving is:
{
“message”: “An unexpected error has occurred. Please retry your request later.”,
“type”: “OAuthException”,
“is_transient”: true,
“code”: 2,
“fbtrace_id”: “Ak6OZA72-efdE-2Ko9NqSgy”
}
Graph Explorer returns the same error/result for the specific pages. Some returns conversations while other return the mentioned error.
Does anyone know what causes these errors?
I haven’t made any changes to my code. The request was consistently working for a while, but recently it started giving these errors for some pages.
Earlier Facebook Graph Api would always return conversations as expected.
Eltaf Abbasi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.