In Google API v2, why is the error “The project id used to call the Google Play Developer API has not been linked” happening?

∥☆過路亽.° 提交于 2019-11-30 20:21:55

Hey I was having a similar issue as you, I figured out the problem was I was the authenticating a user did not have the right permissions.

First go into your Google Play Console, go under Settings> API Access. Make sure that you have a linked "Google Play Android Developer" (which is sounds like you do and I did as well).

Next go into Settings>User Accounts and Rights, make sure the user has the proper rights to view subscriptions or whatever you need it to. For testing purposes just give it all the rights.

Then make sure to Authenticate this user via Oauth(ie select their email from the list) and then get typical refresh/access token

Really seems so painfully obvious to me now, but it still took a day of frustration. I hope this solves your issue :)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!