Trying to setup the Tesla Fleet integration and having some issues on the Tesla Developer site. Few days ago I followed the instructions from Tesla Fleet - Home Assistant but messed up the key generation so Telsa wouldn’t accept it. I had got through the part of hosting the key on Fleet Key for Home Assistant and then creating the Application in Tesla Developer site successfully.
I’ve now created the correct key type and am trying to either update the existing application to point to the new fleetkey.cc hosted public key but it’s complaining that:
“Domain is not valid. Please ensure it is registered with a certificate authority, does not include “Tesla”, and is not being used with a reverse proxy setup”
The instructions for the integration talk about choosing between “Just for me” or “For my business” which I thought were the options I saw initially. On the Tesla Developer site I’m now seeing “Authorisation Code and Machine-to-Machine” or “Machine-to-Machine only (Recommended for Enterprise Only)” options instead.
I’m wondering if this is a change on the Tesla Developer site that has broken the existing process or if there’s something else wrong with what I’m doing? TIA
Also having the same issue. At first I thought maybe DNS hadn’t fully propagated the domain name, but finding this thread seems to suggest that isn’t the issue.
I tried to setup this up but i get an “failed setup error”. i confirmed that my public key is being served correctly.
I’m guessing I probably messed up on the subsequent steps. How did you configure the API on Tesla’s developer website? On Allowed origin(s) i put just my Nabu Casa URL without any additional path since it was giving an error. Is that the correct approach?
Also, I redid the whole shenaningans here, all steps!
And in the step “Register your application as a Fleet API partner”
since I am (and my car is) in EU, I changed this link to the EU one.
This is not written in the steps, I just found it in some git or some other site comment
NA one: https://fleet-api.prd.na.vn.cloud.tesla.com
EU one: https://fleet-api.prd.eu.vn.cloud.tesla.com
Thanks for the additional information.
i figured out that i missed the “Register your application as a Fleet API partner” step.
I read through the documentation and honestly i’m not familiar with curl commands. Is there a tutorial on how to do it? is it as simple as just copy pasting the code into a terminal window?
i dont know anythign about them, i used some gpt help
i did all through powershell, gpt had to transform the curl commands to fit with PS syntax, and then i just took a step by step approach with it. asked gpt to descxribe what the next step is, what it does, what result i shoudl expect etc. and then we wnet command by command.