-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
set-reserve ERROR gives Missing access token parameter. Auth token expired? #54
Comments
Hi @ma773o - my understanding is that the TeslaPy module should actually automatically update the auth token file... I have used some very old saved auth token files before (however, with the tesla-history script from the Powerwall-Dashboard project) and never had an issue. Have you checked the permissions of the |
Hi,
This was working a couple of days ago, and of course my the email/password pair works when authenticating to tesla.com |
Hi @ma773o - I'm not sure what could be going wrong here. You seem to be doing the right thing (I assume you removed replaced the real code with Some (likely not very helpful) thoughts:
|
Hi,
python3 set-reserve.py --read
fails with this error:
ERROR: Failed to retrieve PRODUCT_LIST - (missing_token) Missing access token parameter.
I guess the problem is that the auth token has expired as I have the following in the set-reserve.auth file:
... "expires_in": 28800, "token_type": "Bearer", "expires_at": 1700028409.1826518}}}
which can be converted as expires_in 8 hours and expires_at Wednesday, November 15, 2023 6:06:49 AM GMT .
Is there a way to automatically refresh the token without having to login again?
Can it be embedded in set-reserve.py and the other tools?
Thanks
The text was updated successfully, but these errors were encountered: