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

Display headers on receiving 429 response #3451

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brianmay
Copy link
Collaborator

@brianmay brianmay commented Nov 18, 2023

Basic code to try to see what the headers are when we get a 429 (rate limited) response from Tesla.

Not tested; I am not getting 429 responses at present.

I imagine that for a working version we will need to convert the "Retry-After" value from a string into an integer.

@brianmay
Copy link
Collaborator Author

Seems I am getting Rust syntax confused with Elixir syntax :-(. Now fixed.

@JakobLichterfeld
Copy link
Collaborator

Do you think we still need this? I could not re-run the CI on this.

@brianmay
Copy link
Collaborator Author

brianmay commented Feb 8, 2024

Good question. Maybe not yet. Fingers crossed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:tesla api Related to the Tesla API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants