Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

The credentials have been revoked or expired, please re-run the application to re-authorize #48

Open
chris-ney opened this issue Oct 26, 2018 · 3 comments

Comments

@chris-ney
Copy link

Hi,

Yesterday my code works perfectly, and today (without change anything) I get the following error:

  • The credentials have been revoked or expired, please re-run the application to re-authorize

I used Service Account JSON file (generated via Google Console). This code is server side, so I can't used the Web Browser Auth system.

My code below:

SCOPES = ['https://www.googleapis.com/auth/androidpublisher'] credentials = service_account.Credentials.from_service_account_file(self.ACCOUNT_CONFIG_JSON, scopes=SCOPES) self.service = googleapiclient.discovery.build('androidpublisher', 'v3', credentials=credentials)

@O-OF-N
Copy link

O-OF-N commented Jun 4, 2019

Hello , any luck with this issue? I am facing the same issue..

@k3muri84
Copy link

Mhh i think i would run in the same issue. Someone solved this already?

@k3muri84
Copy link

actually after spending a day digging into play publisher api. I figured that the samples here are just totally oudated and need to be archived. It's just confusing people. Was able to access the api directly and do what i need but also using google auth https://google-auth.readthedocs.io/en/latest/user-guide.html to solve authentication.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants