tap-facebook
tap-facebook copied to clipboard
'limit' parameter of graphql endpoints needs to be configurable, or backed-off upon receiving 'Please reduce the amount of data you're asking for, then retry your request'
When pulling insights data from the facebook marketing api, we have started getting the following error:
Message: Call was not successful
Method: GET
Path: https://graph.facebook.com/v3.3/<1234567890>/insights?access_token=<hidden_token>&limit=25&after=NzQZD
Params: {}
Status: 500
Response:
{
"error": {
"code": 1,
"message": "Please reduce the amount of data you're asking for, then retry your request"
}
}
After getting the error, I used the path specified in the error with Postman, and was able to decrease the limit and retrieve all of the data by following the page.next value
You can try with api async