-
Notifications
You must be signed in to change notification settings - Fork 25
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
401 error after ~24h passed on time-windows API #285
Comments
@zaubara request count dropped because you restarted the integration and not because the rate lowered. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before submitting a new issue
Problem description
I have an automation running daily that sets the time windows for tomorrow (dynamic electricity pricing). This works fine, however on the second day I now always get a 401 error.
This does seem to be completely unrelated to the api rate limit - it’s a different error, and I have set the requests to only update every 10800 seconds (and 3600 - same problem).
I would assume that an old token is being used, maybe one that needs to be refreshed.
When I restart home assistant or reload the integration, running the same automation runs successfully.
Edit: I just noticed that waiting only a few minutes is enough - I waited 10 minutes and called it - 401. Restarted the integration - success.
Logs
The text was updated successfully, but these errors were encountered: