Traceback (most recent call last):
File "/home/pi/git-repos/am_bot/watch_script.py", line 365, in refresh
toogoodtogo()
File "/home/pi/git-repos/am_bot/watch_script.py", line 173, in toogoodtogo
api_response = tgtg_client.get_items(
File "/usr/local/lib/python3.9/dist-packages/tgtg/init.py", line 240, in get_items
self.login()
File "/usr/local/lib/python3.9/dist-packages/tgtg/init.py", line 145, in login
raise TypeError(
TypeError: You must provide at least email or access_token, refresh_token, user_id and cookie
Although I successfully logged into my TGTG account and all the required values are provided at the config.json
Always getting this error:
Traceback (most recent call last): File "/home/pi/git-repos/am_bot/watch_script.py", line 365, in refresh toogoodtogo() File "/home/pi/git-repos/am_bot/watch_script.py", line 173, in toogoodtogo api_response = tgtg_client.get_items( File "/usr/local/lib/python3.9/dist-packages/tgtg/init.py", line 240, in get_items self.login() File "/usr/local/lib/python3.9/dist-packages/tgtg/init.py", line 145, in login raise TypeError( TypeError: You must provide at least email or access_token, refresh_token, user_id and cookie
Although I successfully logged into my TGTG account and all the required values are provided at the config.json