Android Question Play developer api problem

tufanv

Expert
Licensed User
Hello,

I am following Erel's tutorial. I have changed the client secret and id as described, google play developer is linked as shown in the picture. But when I run the client app, it does not bring the login screen , it says in the logs:

B4X:
Getting access token from refresh token...
ResponseError. Reason: , Response: {
  "error": "unauthorized_client",
  "error_description": "Unauthorized"
}
Error accessing account.
How can I fix this ? It seems like a id/password mismatch but it is not , I created a new id with new secret but still same.
 

tufanv

Expert
Licensed User
I have used an old client secret and id and it worked. I dont know why the newly created one is not working.
 

tufanv

Expert
Licensed User
and now constantly getting :

"message": "The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console."

altough the developer is linked. Why it has to be so difficult to just to validate a in app purchase..
 

tufanv

Expert
Licensed User
For the ones who are having problem with this. I had to create a new in app item after the linking to make it work. It means , on some occasions , items created prior to linking of accounts, does not work.

I can now successfully check auto-renewing subscription tokens for validty.
 
Top