KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel