Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AndroidPublisher API return projectNotLinked error

This happens when I was using Google Play Android Developer API in Google Developers Console to test the status of purchased product, and the result is always like this

{
 "error": {
  "errors": [
   {
    "domain": "androidpublisher",
    "reason": "projectNotLinked",
    "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
   }
  ],
  "code": 403,
  "message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."
 }
}

Have checked this out using another Developer account (and package name) and it works just fine. I sure have linked the API project from Google Developers Console to Google Play Developer Console -> API Access settings, and try to recreate as many as possible but none of the projects worked.

So what am I missing here? What does it mean "not linked" besides the linked project I made in the settings of Google Play console.

like image 925
vnoob0 Avatar asked Aug 06 '14 09:08

vnoob0


2 Answers

In case anybody else has the same issue, try adding a new product/subscription in your Google Play console account. That worked for me, although seems to be some kind of inconsistency problem in Google services.

like image 93
Diyan_K Avatar answered Oct 03 '22 20:10

Diyan_K


After days trying to use API Explorer to use Android Publisher API but failed, I requested support from Google and receive the answer "It looks like API Explorer is no longer supported for the Publishing API". So basically I can't use API Explorer to check in-app purchase token again. Hope this help who's struggling with this.

like image 43
vnoob0 Avatar answered Oct 03 '22 19:10

vnoob0