2016-11-01 2 views
0

내 프로젝트에 YouTube 데이터 API 및 Google+ API를 사용 설정하고 Auth.java에서 Android API 키를 변경했습니다. 또한 재생 목록 정보를 Constants.java에 입력했습니다. 그러나 나는 아직도이 도움이되지 않는 오류가 발생합니다 : 액세스가 구성되지 않았습니다. 프로젝트에 YouTube 데이터 API가 사용되지 않았습니다. 608941808256

com.google.api.client.googleapis.json.GoogleJsonResponseException: 403 Forbidden 
                   { 
                   "code": 403, 
                   "errors": [ 
                    { 
                    "domain": "usageLimits", 
                    "message": "Access Not Configured. YouTube Data API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube/overview?project=608941808256 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.", 
                    "reason": "accessNotConfigured", 
                    "extendedHelp": "https://console.developers.google.com/apis/api/youtube/overview?project=608941808256" 
                    } 
                   ], 
                   "message": "Access Not Configured. YouTube Data API has not been used in project 608941808256 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/youtube/overview?project=608941808256 then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry." 
                   } 

어떤 사람이 내가 여기에 같은 문제가 있었다

+0

나는 또한 동일한 문제에 직면하고있다. 그것을위한 해결책을 얻었습니까? 해결책이 있으면 공유하십시오. –

답변

0

제발 도움이 될 수 있습니다. Google+ API 및 주소록 API를 사용하는 것 외에도 웹 애플리케이션 용 OAuth 클라이언트 키를 새로 만들어야합니다.

생성하면 클라이언트 ID가 오류 메시지에있는 프로젝트 ID로 시작됩니다. 그런 다음

당신이해야

  1. 는 API에 형 웹 응용 프로그램
  2. 과 OAuth 클라이언트 키와 클라이언트 ID를 만듭니다

    요약

    당신은 다음과해야 할 것이다 인증 할 수있다.

    희망이 있습니다.