使用谷歌Youtube API时出现403()错误

时间:2017-08-31 06:41:10

标签: youtube-data-api

当我使用Youtube API

时,我正在控制此错误
{
 "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=************"
   }
  ],
  "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."
 }
}

和403()错误显示在控制台

0 个答案:

没有答案