Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook API calls rate limit reached

3 days ago we received an alert from the facebook developers page inform us that one of our apps had reached 100% of the hourly rate limit. Our application had an error that caused the increase in calls to the APIS that we solved yesterday afternoon. Since that we deployed the fix we see that in API calls graph (graph: "Application Level Rate Limiting") we don't reach the limit but the calls to the facebook APIS still failing. We want to know if there is a period of time to recover access to the APIs after not reaching that limit.

Here you can see a screenshot of the alert: alert

enter image description here

In the response headers of one of the calls, we receive this error:

Status code: 403 Header name: WWW-Authenticate Header value: OAuth "Facebook Platform" "invalid_request" "(#4) Application request limit reached

You can see the header here

like image 953
Oriol Corominas Avatar asked Jun 06 '18 11:06

Oriol Corominas


People also ask

How do I fix the API rate limit exceeded?

Resolve a 403 error: Project rate limit exceededRaise the per-user quota in the Google Cloud project. For more information, request a quota increase. Batch requests to make fewer API calls. Use exponential backoff to retry the request.

What does it mean calls to this API have exceeded the rate limit?

A rate limit is the number of API calls an app or user can make within a given time period. If this limit is exceeded or if CPU or total time limits are exceeded, the app or user may be throttled. API requests made by a throttled user or app will fail.

How do I get around API rate limits?

The easiest way around a rate-limit is to delay requests so they fit within the specified window. For example if an API allowed 6 requests over 3 seconds, the API will allow a request every 500ms and not fail ( 3000 / 6 = 500 ).


1 Answers

You are not the only one right now: https://developers.facebook.com/support/bugs/169774397034403/

But i suppose it should be gone after a day or a few hours, in my experience, sometimes i can make a few calls and then it shuts me off again, while our application is not that api call intensive.

like image 176
Wim L. Avatar answered Oct 23 '22 23:10

Wim L.