2015-01-24 4 views
0

개발자 콘솔에서 Google 애플리케이션을 생성하고 "YouTube Data API v3"를 켜고 서버 API 키를 생성했습니다.하지만 API 키를 전달할 때 Webservice) 오류를 보여줍니다.유튜브 API v3은 "Access Not Configured"코드를 보여줍니다 : 403

{ 
    "error": { 
     "errors": [{ 
      "domain": "usageLimits", 
      "reason": "accessNotConfigured", 
      "message": "Access Not Configured. The API is not enabled for your project, or 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 configuration.", 
      "extendedHelp": "https://console.developers.google.com" 
     }], 
     "code": 403, 
     "message": "Access Not Configured. The API is not enabled for your project, or 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 configuration." 
    } 
} 

이 문제를 어떻게 해결할 수 있습니까?

+0

프로젝트를 설명하십시오. 당신은 안드로이드 SDK를 사용하고 있습니까? – bonnyz

+0

SHA1 인증서 지문과 패키지 이름 (세미콜론으로 분리됨)이있는 서버 키가 아닌 안드로이드 키를 한 줄에 만들어야합니다. –

답변

0

비슷한 문제가 있었지만 모든 리퍼러가 허용하는 브라우저 키를 사용하여 해결되었습니다 ..

+2

이것은 좋은 해결책은 아니며 액세스를 제한하는 전체 지점을 우회합니다. – Sojurn