It's strange. I can get a successful response in SoapUI for the first step, but doing it in Automate results in an error response (400 status code)
Request Method: GET
Request content type: JSON
Request content body: {"client_id": "ownerapi", "code_challenge": "123", "code_challenge_method": "S256", "redirect_uri": "
https://auth.tesla.com/void/callback", "response_type": "code", "scope": "openid email offline_access", "state": "123", "login_hint": "
X...@yahoo.com"}
I tried adding a user agent string that I found in a Python script that talks to the API, but it made no difference.
Request headers: {"User-Agent": "Mozilla/5.0 (Linux; Android 10; Pixel 3 Build/QQ2A.200305.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/85.0.4183.81 Mobile Safari/537.36"}