Failed to setup, check the logs #1058
-
This is a repost from #1057, since that topic was closed but the problem is not completely solved. The public key is accessable. But the integration is stuck on Failed to set up: Check the logs. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
https://my.home-assistant.io/redirect/integration/?domain=tesla_custom should take you to the correct page and then click When you click again to disable logging you'll get a file downloaded with the contents of the log while debugging was enabled. Be careful there potentially will be some sensitive information that you might want to redact. |
Beta Was this translation helpful? Give feedback.
-
Ah thanks! That indeed worked... I hat the message
Turned out that my Tesla HTTP Proxy add on is not doing this correctly. I should be done by this add on right? I fixed it doing the registration manually.: `CLIENT_ID="xxxx" Partner authentication token requestcurl --request POST End than with using the output from previous command: |
Beta Was this translation helpful? Give feedback.
Ah thanks! That indeed worked... I hat the message
412: {"error":"Account xxxx must be registered in the current region https://fleet-api.prd.eu.vn.cloud.tesla.com, please see https://developer.tesla.com/docs/fleet-api/endpoints/partner-endpoints#register"}
Turned out that my Tesla HTTP Proxy add on is not doing this correctly. I should be done by this add on right?
I fixed it doing the registration manually.:
`CLIENT_ID="xxxx"
CLIENT_SECRET="xxxx"
AUDIENCE="https://fleet-api.prd.eu.vn.cloud.tesla.com"
Partner authentication token request
curl --request POST
--header 'Content-Type: application/x-www-form-urlencoded'
--data-urlencode 'grant_type=client_credentials'
--data-urlencode "cli…