Youtube quota exceeded An exception when it is not actually

We use the data from youtube api v3 and have been for quite some time without any problems. Recently, we got this 403 exception:

The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>. 

The Google Developer Console says that we are still under the quota (currently it states β€œunits / day 163,817 out of 50,000,000”).

Am I missing something about how quotas work?

+6
source share
3 answers

You can create more API keys and arbitrarily use all of them. His good way, like Im, also using it without any problems and never received quotas, exceeded the problem. You need to create a separate project for each API. in php you can use it like

 $api = array("API key # 1", "API key # 2" ,"API key # 3"); $rand_keys = array_rand($api, 1); $usage = $api[$rand_keys]; 

A new key will be used for each request. The best way to avoid downtime.

+1
source

YouTube also has a quota of 3,000 requests per second. Perhaps you scared it.

0
source

The quota was reduced yesterday (2016-04-21) from 50 million units to 1 million ...

0
source

All Articles