You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have an expired token, you get the exception
(google-photos-sync-check) bash-3.2$ python google-photos-sync-check.py --verbose rebuild_db
Traceback (most recent call last):
File "google-photos-sync-check.py", line 224, in <module>
args.func(args)
File "google-photos-sync-check.py", line 153, in rebuild_db
for album_page in album_pages:
File "google-photos-sync-check.py", line 33, in get_album_pages
albums_response = photoslibrary.albums().list().execute()
File "/Users/etoews/.local/share/virtualenvs/google-photos-sync-check-9wSNJ860/lib/python3.8/site-packages/googleapiclient/_helpers.py", line 134, in positional_wrapper
return wrapped(*args, **kwargs)
File "/Users/etoews/.local/share/virtualenvs/google-photos-sync-check-9wSNJ860/lib/python3.8/site-packages/googleapiclient/http.py", line 883, in execute
resp, content = _retry_request(
File "/Users/etoews/.local/share/virtualenvs/google-photos-sync-check-9wSNJ860/lib/python3.8/site-packages/googleapiclient/http.py", line 172, in _retry_request
resp, content = http.request(uri, method, *args, **kwargs)
File "/Users/etoews/.local/share/virtualenvs/google-photos-sync-check-9wSNJ860/lib/python3.8/site-packages/oauth2client/transport.py", line 186, in new_request
credentials._refresh(orig_request_method)
File "/Users/etoews/.local/share/virtualenvs/google-photos-sync-check-9wSNJ860/lib/python3.8/site-packages/oauth2client/client.py", line 761, in _refresh
self._do_refresh_request(http)
File "/Users/etoews/.local/share/virtualenvs/google-photos-sync-check-9wSNJ860/lib/python3.8/site-packages/oauth2client/client.py", line 819, in _do_refresh_request
raise HttpAccessTokenRefreshError(error_msg, status=resp.status)
oauth2client.client.HttpAccessTokenRefreshError: invalid_grant: Bad Request
The client_token.json should be automatically deleted and the auth process retried.
The text was updated successfully, but these errors were encountered:
If you have an expired token, you get the exception
The client_token.json should be automatically deleted and the auth process retried.
The text was updated successfully, but these errors were encountered: