26.01.2022, 16:19
(26.01.2022, 13:00)admin Wrote: Specify API_Token = 'xyz' together with other credentials then you should be able to use the RequestFromTesla/WriteToTesla functions. Keep in mind that the token has expiration time and has to be refreshed.
I receivedĀ an 401 error if i do what you suggested.
API_TokenĀ is the Refresh Token?
But why the other credentials? they are only used in the GetToken function and never used if you hardcoded the api_token.