I was using an User-Agent string that was causing issues like that. You might want to see if changing that will help.
GitHub - tomhollander/TeslaAuth: C# / .NET core library for authenticating to Tesla's Owner API
C# / .NET core library for authenticating to Tesla's Owner API - tomhollander/TeslaAuth
github.com
Code:
var authHelper = new TeslaAuthHelper("YourUserAgent/1.0");
var tokens = await authHelper.AuthenticateAsync(username, password, mfaCode);
I tried this as well, but same issue:
Code:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 Edg/90.0.818.66