Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tesla Fleet API, can't add my car (dropdown empty) #1288

Open
josefzahner opened this issue May 22, 2024 · 14 comments
Open

Tesla Fleet API, can't add my car (dropdown empty) #1288

josefzahner opened this issue May 22, 2024 · 14 comments
Labels
bug Something isn't working

Comments

@josefzahner
Copy link

When I try to add my vehicle via Tesla Fleet API I get an exception on step 4, so my dropdown menu which should contain the VIN is empty... any ideas what could be the issue?

Screenshot 2024-05-23 at 00 24 04

Log:

23.05.2024 00:24:15 : #-1[Thread Pool Worker:68]: Update fleetAPIaddress / Value: https://fleet-api.prd.eu.vn.cloud.tesla.com/
23.05.2024 00:24:15 : #-1[Thread Pool Worker:68]: FleetApiAddress: https://fleet-api.prd.eu.vn.cloud.tesla.com/
23.05.2024 00:24:15 : #-1[Thread Pool Worker:68]: Update fleetAPIaddress / Value: https://fleet-api.prd.eu.vn.cloud.tesla.com/
23.05.2024 00:24:26 : #-1[Thread Pool Worker:62]: Timeout: vehicle_data?endpoints=vehicle_state&let_sleep=true
23.05.2024 00:24:26 : System.AggregateException: One or more errors occurred. (A task was canceled.) ---> System.Threading.Tasks.TaskCanceledException: A task was canceled.
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <533173d24dae460899d2b10975534bb0>:0
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in <533173d24dae460899d2b10975534bb0>:0
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x0000f] in <533173d24dae460899d2b10975534bb0>:0
at TeslaLogger.WebHelper.DoGetVehiclesRequest (System.String& resultContent, System.Net.Http.HttpClient client, System.String adresse, System.Threading.Tasks.Task`1[System.Net.Http.HttpResponseMessage]& resultTask, System.Net.Http.HttpResponseMessage& result) [0x00075] in :0
at TeslaLogger.WebHelper.GetAllVehicles (System.String& resultContent, Newtonsoft.Json.Linq.JArray& vehicles, System.Boolean throwExceptionOnUnauthorized, System.Boolean doNotCache) [0x000f4] in :0
at TeslaLogger.WebServer.Admin_GetCarsFromAccount (System.Net.HttpListenerRequest request, System.Net.HttpListenerResponse response, System.Boolean fleetAPI) [0x0013d] in :0
---> (Inner Exception #0) System.Threading.Tasks.TaskCanceledException: A task was canceled.<---```
@josefzahner josefzahner added the bug Something isn't working label May 22, 2024
@bassmaster187
Copy link
Owner

What Model do you have?

@josefzahner
Copy link
Author

Model Y Performance from June 2023

@josefzahner
Copy link
Author

Btw. git clone from yesterday and running on docker on my Synology NAS

@bassmaster187
Copy link
Owner

Could you please retry getting a new token to make sure it wasn't a server problem.

@josefzahner
Copy link
Author

Just checked, problem persists.... Token generation works, but no VIN available.

@josefzahner
Copy link
Author

I've tried it again on fresh installed Raspberry Pi 4, but of course again with the Docker setup. Exactly the same behaviour as on my Synology. Dropdown empty :-(

@josefzahner
Copy link
Author

Adding the car by "In local browser" works, dropdown with VIN filled there. However I don't know how long this will work or if it does (haven't driven until now)

@jaimebennett
Copy link

I have this same issue with the newest build. Can I add the vehicle manually to the DB?

@andrelx
Copy link

andrelx commented Jul 28, 2024

Same issue here (or so I think). I have sold my previous Tesla and it has been removed from my Tesla account. I now have only the new one on my Tesla account. When I authenticate, it comes back with an empty list for cars.

Capture d’écran 2024-07-28 130931

@bassmaster187
Copy link
Owner

could you please send me your logfile

@andrelx
Copy link

andrelx commented Jul 28, 2024

Just to be sure : is there any sensitive information in the logfile ? I wouldn't want to post publicly something thqat would give access to my car ;-)

@bassmaster187
Copy link
Owner

No, everything sensitive is obfuscated. You can send me the logfile by mail.

@andrelx
Copy link

andrelx commented Jul 28, 2024 via email

@andrelx
Copy link

andrelx commented Aug 5, 2024

Any development of this ?

Thanks,

André

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants