hrishikeshrt / google_drive_ocr

Perform OCR using Google's Drive API v3
Other
38 stars 11 forks source link

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

Open mayukonomoto opened 8 months ago

mayukonomoto commented 8 months ago

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'})

monk-blade commented 7 months ago

same issue