DEV Community

sandris-
sandris-

Posted on

androidpublisher & projectNotLinked error

So spent few hours dealing with project linking error on Google Play. Will leave it here in case someone is stuck with error.

If you receive this response, when making request to Android Publisher API, but your project is already linked:

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

Try to create new In App Product. If there is a product created before linking, it fails on product transaction fetching when making purchase. With new product error goes away.

Top comments (5)

Collapse
 
pyankoff profile image
Andrey Pyankov • Edited

+1 day saved 🙌

BTW, just editing subscription description and saving it makes it work too.

Collapse
 
23544 profile image
Cha Cha

hello bro, i have edited but it doesn't work. can u help me?

Collapse
 
gate1131 profile image
Ouss elha

The application should be published in the first time or can be worked while in draft please?

Collapse
 
shinado profile image
shinado

Saved my day, bro!

Collapse
 
jemerocay profile image
Amir

Thanks a lot. This have been driving me nuts.