Replies: 12 comments 8 replies
-
I have the same issue. |
Beta Was this translation helpful? Give feedback.
-
Can confirm having the same issue. It would be great if someone can share a working solution. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
same problem here, credentials are correct but still get "You don't have permission to access "http://auth.tesla.com/oauth2/v3/authorize?" on this server." |
Beta Was this translation helpful? Give feedback.
-
Same issue here. |
Beta Was this translation helpful? Give feedback.
-
I'm also stuck on this issue, here's what I've tried (in rust) Using
|
Beta Was this translation helpful? Give feedback.
-
Hi there, searching for this issue I found #545, which tagged this thread as solution, however, not sure whether it was solved. |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I just tried to simulate an auth request with Postman and am also getting a 403 with 'Access Denied' on Step 2 of the OAuth guide. |
Beta Was this translation helpful? Give feedback.
-
I don't have a solution, but it appears when the page loads on a browser it also makes a call to www.recapture.net that returns some javascript that is then run. This is required to populate at least one of the three cookies 'i18next', 'ak_mbsc' and 'bm_sv' that are included in the request when using a browser but are missing when using curl/postman/request. The recapture script actually modifies the dom after loading so the references to recapture script no longer exist once the page is rendered in a regular browser. You can reproduce by making the call using curl, then manually performing a curl (search for www.recapture.net) to get the recapture code. Unless we can render the page (including all <script> includes and js code) it will be hard to get the additional required headers. |
Beta Was this translation helpful? Give feedback.
-
Lots of similar discussions on this problem: |
Beta Was this translation helpful? Give feedback.
-
im trying to test the auth aswell, and im getting the 403 error. Does anyone have a solution for this? |
Beta Was this translation helpful? Give feedback.
-
Hello, any update on this issue or are we locked out from the Tesla API? |
Beta Was this translation helpful? Give feedback.
-
Hi, my script is no longer able to authenticate, even though I haven't changed anything
I use CURL with PHP and, on second call for auth (Step 2: Obtain an authorization code) i have this:
I tried to add into the headers "User-Agent: curl / 6.14.0" and it works fine again: "Redirect to https://auth.tesla.com/void/callback?code=XXXXX"
By default, CURL on PHP don't send any User-Agent.
So, I think tesla blocks some user agents or add some control (eg. user-agent is present) .... does anyone have the same problem?
And what is the user agent used by the app, you know? I wonder why, by setting the one in the requests, the call from the app is simulated?
Beta Was this translation helpful? Give feedback.
All reactions