Google UrlShortener 403 Rate Limit Exceeded

388 Views Asked by At

suddenly as of 6pm yesterday I started getting a 403 from Google

{
"error": {
    "errors": [
        {
            "domain": "usageLimits",
            "reason": "rateLimitExceeded",
            "message": "Rate Limit Exceeded"
        }
    ],
    "code": 403,
    "message": "Rate Limit Exceeded"
}

}

100% of our requests are getting this error. I checked my rates and we are nowhere near the limit. This code has been in place for a year. Any ideas?

  • Max for 100s over the last 24 hours is 40
  • Total Requests for 24 hours is less than 2000

These are typical rates for us

2

There are 2 best solutions below

4
Rogelio On BEST ANSWER

Had the same issue but it seems to be working now. The URL shortner API is being deprecated. We had to implement FireBase as well.

1
juanchavezlive On

It seems to be a problem related to Google directly.

We have experienced the same problem during today, and we changed the implementation to FireBase (https://firebase.google.com/). It's not hard to do it.

Note: Google recommends use Firebase because the soon outage of Google URL Shortener.