I\'m having trouble when trying to access the YouTube Data API v3. This is the json response I get whenever I send a valid request:
{
\"error\": {
\"error
Jeff, your email recommendation resolved my issue. I removed all lines from the Referers field. Now, in my Google API console, on the API Access screen for this project, under the section titled 'Key for browser apps (with referers)' has a 'Referers' field that reads --> Referers: Any referer allowed.
Now, I get an accurate JSON response from the API.
I had the same issue, removing all referers doesn't seems to solve the issue as I think YouTube API saves your IP and previously added referers and block it, I had to create another API key without any referers and it solved the issue.
if you using google api v3, this is simple way to solve that problem, you only need to enable youtube api
via Google Console Dashboard. https://console.developers.google.com