Error while granting permissions - Token used too early

1,714 views
Skip to first unread message

Hanit Banga

unread,
Mar 2, 2021, 1:37:16 PM3/2/21
to Got Your Back: Gmail Backup
Hi,

I'm trying to grant access to GYB for the backup, but every time I try I get this error:

Traceback (most recent call last):
  File "gyb.py", line 2286, in <module>
  File "gyb.py", line 1589, in main
  File "gyb.py", line 278, in getValidOauth2TxtCredentials
  File "gyb.py", line 390, in requestOAuthAccess
  File "gyb.py", line 405, in writeCredentials
  File "gyb.py", line 417, in _getValueFromOAuth
  File "gyb.py", line 414, in _decodeIdToken
  File "google\oauth2\id_token.py", line 146, in verify_oauth2_token
  File "google\oauth2\id_token.py", line 126, in verify_token
  File "google\auth\jwt.py", line 276, in decode
  File "google\auth\jwt.py", line 197, in _verify_iat_and_exp
ValueError: Token used too early, 1614709861 < 1614709872
[10664] Failed to execute script gyb

The timestamps are always 11 seconds apart, regardless of how long I wait after token generation to enter it. I'm using a non Google Workspace account.

Thanks,
Hanit

Jay Lee

unread,
Mar 2, 2021, 1:38:42 PM3/2/21
to Got Your Back: Gmail Backup
The clock on your computer is running fast. You need to sync it with a time server to fix it.

Jay

--
--
You received this message because you are subscribed to the Google
Groups "Got Your Back: Gmail Backup" group.
To post to this group, send email to got-yo...@googlegroups.com
To unsubscribe from this group, send email to
got-your-bac...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/got-your-back?hl=en?hl=en

---
You received this message because you are subscribed to the Google Groups "Got Your Back: Gmail Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to got-your-bac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/got-your-back/686a5df7-ffea-4e50-b5e9-331c55f993e3n%40googlegroups.com.

Hanit Banga

unread,
Mar 2, 2021, 1:42:16 PM3/2/21
to got-yo...@googlegroups.com
Nice catch! Thanks a lot.

You received this message because you are subscribed to a topic in the Google Groups "Got Your Back: Gmail Backup" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/got-your-back/EA-QH6B5MzI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to got-your-bac...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/got-your-back/CA%2BVVBp_SnWxB0TcWaT73nLLRHMfcJTQAxOpAohW35QLbqAvPgQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages