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

command fleet_status / Http Status Code 421 (MisdirectedRequest) #180

Open
bassmaster187 opened this issue Jun 16, 2024 · 4 comments
Open

Comments

@bassmaster187
Copy link

I receive sometime Http Statuscode 421 on command fleet_status. What does that mean?

@Bre77
Copy link

Bre77 commented Jun 16, 2024

This user is not present in the current region. See the regional requirements section for more information.

https://developer.tesla.com/docs/fleet-api#response-codes

Edit: But getting that on fleet_status is rather odd.

@bassmaster187
Copy link
Author

Maybe related to this issue:
teslamotors/vehicle-command#249

@Bre77
Copy link

Bre77 commented Jun 16, 2024

Maybe related to this issue:
teslamotors/vehicle-command#249

To mitigate that I call api/1/users/region for every user login to ensure the region is correct. A month ago I had a handful of EU users showing up as NA, although that hasn't happened for a while.

@bassmaster187
Copy link
Author

The Proxy Server should handle all the region stuff. At least for all other users.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants