Insights API returns "HTTP 500 (#2) Service temporarily unavailable" for multiple hours
3

The Insights endpoint of Marketing API returns HTTP 500.

Example request https://graph.facebook.com/v19.0/ACT_120300765059980/insights?time_increment:1&time_range:{"since":"2023-01-01","until":"2024-05-07"}&fields:["campaign_id","impressions","clicks","spend"]& limit:2000

Example session of Graph API explorer https://developers.facebook.com/tools/explorer/625394586410842/?session_id=1973099666421556

Example fb-trace-id AJw-Ja8_vSyO9bfi4LpVDIe

The returned data suggests this is a transient error, but this error persists for at least four hours. Aything wrong on my side? Or is the API in error for an unexpected long time?

One more observation: requests to the campaigns endpoint have no problems at all.

Zweitze
Asked about a month ago
Selected Answer
1

I think it's a bug, see the first comment at this issue: https://developers.facebook.com/support/bugs/1458755334741025/

May 13 at 10:53 AM
Zweitze