Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] How to refresh to new client ID? #8

Open
mayukonomoto opened this issue Feb 27, 2024 · 1 comment
Open

[QUESTION] How to refresh to new client ID? #8

mayukonomoto opened this issue Feb 27, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mayukonomoto
Copy link

  • google-drive-ocr version: 0.2.6
  • Python version: Python 3.12.2
  • Operating System: macOS Sonoma 14.2.1

Question

The token had expired, so I deleted the project and re-created a new project. (Both the old and new projects are just for doing OCR)
I downloaded the new client_secret.json file and tried to perform OCR, but I get the following error.
Is it something to do with cache, etc.?

google.auth.exceptions.RefreshError: ('invalid_client: Unauthorized', {'error': 'invalid_client', 'error_description': 'Unauthorized'})

@mayukonomoto mayukonomoto added the enhancement New feature or request label Feb 27, 2024
@monk-blade
Copy link

same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants