This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
KeyError location
#22
Comments
Same error. But before that, I get "Error with Permissions-Policy header: Unrecognized feature: 'interest-cohort' |
Just tried to run what worked back in May and I'm getting the same error also. Looking at
I'm not sure if this is new but it looks like Tesla is putting Captcha code check which we aren't responding properly to so this line fails:
|
Refer to this discussion, timdorr/tesla-api#390 I downloaded the Tesla Token Android App to generate a new token and that worked for me. |
This has been working for me as a workaround to get the auth key now. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think this is new, since I didn't have this last time I ran (and I changed nothing - also tried a fresh download just now). When running, passing in the -e and -p, I get this error:
Traceback (most recent call last): File "/Users/tornado/Desktop/tesla-oauth2-main/tesla.py", line 268, in <module> login(args) File "/Users/tornado/Desktop/tesla-oauth2-main/tesla.py", line 225, in login code = parse_qs(resp.headers["location"])["https://auth.tesla.com/void/callback?code"] File "/Users/tornado/.pyenv/versions/3.8.7/lib/python3.8/site-packages/requests/structures.py", line 54, in __getitem__ return self._store[key.lower()][1] KeyError: 'location'
The text was updated successfully, but these errors were encountered: