Skip to content

Instantly share code, notes, and snippets.

@dark0ghost
Created October 4, 2019 19:49
Show Gist options
  • Save dark0ghost/607146cdd9f6b0eef923ab57bdea2368 to your computer and use it in GitHub Desktop.
Save dark0ghost/607146cdd9f6b0eef923ab57bdea2368 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/project/bot/model/com/google/async_derive.py", line 25, in <module>
asyncio.run(f.list_files(user_data={'access_token': '763117595853ed75bdb03d535222a83523e62141'}))
File "/usr/lib/python3.7/asyncio/runners.py", line 43, in run
return loop.run_until_complete(main)
File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
return future.result()
File "/home/project/bot/model/com/google/async_derive.py", line 17, in list_files
full_res=True
File "/home/project/bot/venv/lib/python3.7/site-packages/aiogoogle/client.py", line 216, in as_user
if self.oauth2.is_expired(user_creds) is True:
File "/home/project/bot/venv/lib/python3.7/site-packages/aiogoogle/auth/managers.py", line 362, in is_expired
expires_at = creds["expires_at"]
KeyError: 'expires_at'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment