Google cloud platform Youtube API错误“;超出未经验证使用的每日限制。继续使用需要注册”;来自谷歌云平台虚拟机
我已经为我的项目添加了一个API密钥,我正在尝试通过URL检索数据:Google cloud platform Youtube API错误“;超出未经验证使用的每日限制。继续使用需要注册”;来自谷歌云平台虚拟机,google-cloud-platform,youtube-api,Google Cloud Platform,Youtube Api,我已经为我的项目添加了一个API密钥,我正在尝试通过URL检索数据: https://www.googleapis.com/youtube/v3/videos?part=contentDetails%2Cstatistics&id={VIDEO_ID}&key={MY_KEY} 当我在浏览器中尝试时,会得到以下响应: { "kind": "youtube#videoListResponse", "etag": "\"{ETAG}\"", "pageInfo": { "
https://www.googleapis.com/youtube/v3/videos?part=contentDetails%2Cstatistics&id={VIDEO_ID}&key={MY_KEY}
当我在浏览器中尝试时,会得到以下响应:
{
"kind": "youtube#videoListResponse",
"etag": "\"{ETAG}\"",
"pageInfo": {
"totalResults": 1,
"resultsPerPage": 1
},
"items": [
{
"kind": "youtube#video",
"etag": "\"{ETAG}\"",
"id": "{VIDEO_ID}",
"contentDetails": {
"duration": "PT3M11S",
"dimension": "2d",
"definition": "sd",
"caption": "false",
"licensedContent": false,
"projection": "rectangular"
},
"statistics": {
"viewCount": "12822",
"likeCount": "44",
"dislikeCount": "0",
"favoriteCount": "0",
"commentCount": "4"
}
}
]
}
但我的谷歌云虚拟机无法运行,我得到一个错误:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
此API密钥不受限制
怎么了?如何修复它?这是错误所说的:超出了未经验证使用的每日限制。继续使用需要注册。@Edric,但我仍然可以从本地计算机检索数据。@adrenalin当您通过身份验证时,同样的错误会发生吗?-
来自本地计算机
=不表示您是否已登录。在你的问题中澄清这一点。如果iUse仍然存在,请使用。