I have this JSON response from my call from my android App to 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 (acoording to youTube search list)
I read somewhere that I should send a browser-key and NO an android-key, but it doesn't work.
The error seems clear to me:
Your URL is good, but you just exceeded your quota on Youtube API.
There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions.
I believe this is still true:
Version 3 of the YouTube Data API has concrete quota numbers listed in the Google API Console where you register for your API Key. You can use 30,000 units/second/user and 50,000,000 per day.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With