MyTesla icon indicating copy to clipboard operation
MyTesla copied to clipboard

Connect-Tesla does not work (different error as #9)

Open toburger opened this issue 3 years ago • 2 comments

When I call Connect-Tesla I get the following error (verbose output):
image

When I select China as region I get (I don't know if this should work):
image

Name                           Value
----                           -----
PSVersion                      7.2.2
PSEdition                      Core
GitCommitId                    7.2.2
OS                             Microsoft Windows 10.0.22000
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

toburger avatar Apr 01 '22 10:04 toburger

Hi @toburger, thanks for your report! Tesla has added a gateway rejecting the requests to the Auth API. Haven't had time to rewrite Connect-Tesla. It should work if you get an access token in any other way and connect using that instead of credentials.

SimonWahlin avatar May 27 '23 14:05 SimonWahlin

Thanks for the update and details on the issue. I will try to get it to work with an access token.

toburger avatar Jun 06 '23 18:06 toburger