"403 - usesLimits" on youtube api

I have a JSON response from my call from my Android application to the YouTube API:

"error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "ipRefererBlocked",
    "message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.",
    "extendedHelp": "https://console.developers.google.com"
   }
  ],
  "code": 403,
  "message": "There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed."
}

My url is correct (according to youTube search list )

I read somewhere that I have to send a browser key, and NO - an android key, but it does not work.

+4
source share
3 answers

The error seems obvious to me:

Your url is good, but you just exceeded your quota in the Youtube API.

Your API has a limit set for each IP address or each abstract, and the request does not meet these restrictions.

I believe this is still the case:

3 API YouTube , Google API, API. 30 000 // 50 000 000 .

+2

:

, Google Developers Console API, IP- .

, IP-, IP . , . , , . " IP-" " API" , IP-, . , , " " , : https://code.google.com/apis/console/?noredirect

0
  • " HTTP- (-)", . DOMAIN . , .

  • "", -/-.

.

0
source

All Articles