-
-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Failed to find token, re-authenticate request #119997
Comments
Hey there @Thomas55555, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) husqvarna_automower documentation |
same problem here |
Not sure, if I can help there, as the token management is done directly by a helper. Can you add these lines to your logger option in the configuration.yaml:
Example:
And post the logs around the time the error occurs? |
I did the logging: 2024-06-26 14:54:07.361 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request for husqvarna_automower_(###application key###) (invalid_grant): Failed to find token The above exception was the direct cause of the following exception: Traceback (most recent call last): |
@Thomas55555 this issue has stopped for me, anyone else? |
I can't confirm, that the problem ist solved. HA is on 2024.7.2 I still get "Husqvarna authentication expired" after exactly 24hours (latest message 12min ago, I again have to re-authenticate) the small message "Translation Error: The intl string context variab ...." also still pops up right before forwarding to api.authentication.husqvarna.com. |
I still have this issue on 2024.8.1: "The Husqvarna Automower integration needs to re-authenticate with Husqvarna". |
I confirm, same problem. |
The problem
Every 24 hrs or so if have to re-authenticate the Husqvarna Automower
2024-06-19 17:29:58.353 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request for husqvarna_automower_xxxxxxxxxxxx failed (invalid_grant): Failed to find token 2024-06-19 17:29:58.354 ERROR (MainThread) [homeassistant.components.husqvarna_automower.coordinator] Authentication failed while fetching husqvarna_automower data: Access token failure: 400, message='Bad Request', url=URL('https://api.authentication.husqvarnagroup.dev/v1/oauth2/token')
What version of Home Assistant Core has the issue?
core-2024.6.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
husqvarna_automower
Link to integration documentation on our website
https://www.home-assistant.io/integrations/husqvarna_automower/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: