Google Credential: This developer account does not own the application
google-api, google-api-java-client
Solution
I've got the same problem. It occurs because you authorize user in Google API who does not own the application and try to get data that belong to your app.
In this topic it is well described. http://support.google.com/googleplay/android-developer/bin/answer.py?hl=en&answer=2528691&topic=16285&ctx=topic
You should authorize by OAuth2 the owner of application, and then use Google API with obtained token.
Problem
I'm using Google client libraries and trying to make a `GET` request to Google Play API. ``` GoogleCredential credential= new GoogleCredential.Builder().setTransport(netHttpTransport) .setJsonFactory(jacksonFactory) .setServiceAccountId(CLIENT_ID) .setServiceAccountScopes(SCOPE) .setServiceAccountPrivateKeyFromP12File(file) .build(); credential.refreshToken(); HttpRequestFactory requestFactory =netHttpTransport.createRequestFactory(credential); GenericUrl url = new GenericUrl(URI); HttpRequest request = requestFactory.buildGetRequest(url); HttpResponse response = request.execute(); ``` I get ``` { "code" : 401, "errors" : [ { "domain" : "androidpublisher", "message" : "This developer account does not own the application.", "reason" : "developerDoesNotOwnApplication" } ], "message" : "This developer account does not own the application." } ``` My app is unpublished, would that cause the problem?