YouTube Data API v3, Web Application, 403 usageLimits accessNotConfigured

前端 未结 3 817
执念已碎
执念已碎 2021-01-06 02:28

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         


        
相关标签:
3条回答
  • 2021-01-06 02:39

    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.

    0 讨论(0)
  • 2021-01-06 02:47

    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.

    0 讨论(0)
  • 2021-01-06 02:59

    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

    0 讨论(0)
提交回复
热议问题