相关疑难解决方法(0)

Youtube API权限403禁止错误

我正在关注页面上的教程,但是当我运行应用程序并尝试进行搜索时,我一直收到403 Forbidden错误.

我在https://console.developers.google.com/页面上启用了Youtube Data API v3,并创建了一个Android API密钥.

有什么建议?谢谢.

Could not search: com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden
{
"code" : 403,
"errors" : [ {
"domain" : "usageLimits",
"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.",
"reason" : "ipRefererBlocked",
"extendedHelp" : "https://console.developers.google.com"
} …
Run Code Online (Sandbox Code Playgroud)

youtube android json youtube-api

21
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

json ×1

youtube ×1

youtube-api ×1