the first one is if Lyte doesn’t succeed in getting a response from YT, but that seems to be fixed when you get the second error which is a problem with your key configuration in youtube. try removing any ip-restriction on the key or simply create a new one.
yt api key’s can be a pain, we’ve all been there I’m afraid ..
frank
Hi Frank,
All API keys that I have are working for every plugin that requires it. However, with this plugin, I am getting “Client errors (4xx)” in my API Dashboard. I tested my key using this URL :
https://www.googleapis.com/youtube/v3/videos?part=snippet&id=<vid-id>&key=<my-key>
This is the error I received in the JSON response :
{
“error”: {
“errors”: [
{
“domain”: “usageLimits”,
“reason”: “ipRefererBlocked”,
“message”: “The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.”,
“extendedHelp”: “https://console.developers.google.com/apis/credentials?project=462388451704”
}
],
“code”: 403,
“message”: “The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.”
}
}
Can you please update your plugin to specify the referrer which could be the IP or domain name, please?
Thank you.
Hi Frank,
All API keys that I have are working for every plugin that requires it. However, with this plugin, I am getting “Client errors (4xx)” in my API Dashboard. I tested my key using this URL :
https://www.googleapis.com/youtube/v3/videos?part=snippet&id=<vid-id>&key=<my-key>
This is the error I received in the JSON response :
{
“error”: {
“errors”: [
{
“domain”: “usageLimits”,
“reason”: “ipRefererBlocked”,
“message”: “The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.”,
“extendedHelp”: “https://console.developers.google.com/apis/credentials?project=462388451704”
}
],
“code”: 403,
“message”: “The request did not specify any referer. Please ensure that the client is sending referer or use the API Console to remove the referer restrictions.”
}
}
Can you please update your plugin to specify the referrer which could be the IP or domain name, please?
Thank you!
Frank,
In addition, I tried a key without a referrer restriction and it worked properly. It would still be great if you could update the plugin to include the referrer.
Thank you for such a great plugin. 🙂
In addition, I tried a key without a referrer restriction and it worked properly.
that’s indeed the best approach.
It would still be great if you could update the plugin to include the referrer.
I’ll put in on my list of possible improvements, thanks! 🙂
have a nice weekend,
frank