ReneNulschDE / mbapi2020

Custom Component to integrate MercedesME devices into Home-Assistant
Other
157 stars 30 forks source link

authentication is failing since update to 0.13.0 #227

Closed cosmos1978 closed 5 months ago

cosmos1978 commented 5 months ago

The problem

2024-05-05 11:26:17.635 ERROR (MainThread) [custom_components.mbapi2020.oauth] Error requesting: https://id.mercedes-benz.com/as/token.oauth2 - 0 - {"error_description":"unknown, invalid, or expired refresh token","error":"invalid_grant"} 2024-05-05 11:26:17.636 ERROR (MainThread) [custom_components.mbapi2020] Authentication failed. Please reauthenticate. 2024-05-05 11:29:05.894 DEBUG (MainThread) [custom_components.mbapi2020] Start async_setup_entry. 2024-05-05 11:29:05.895 DEBUG (MainThread) [custom_components.mbapi2020.client] WSL not detected - running in rlock mode 2024-05-05 11:29:05.895 DEBUG (MainThread) [custom_components.mbapi2020.oauth] Start async_get_cached_token() 2024-05-05 11:29:05.895 DEBUG (MainThread) [custom_components.mbapi2020.oauth] custom_components.mbapi2020.oauth token expired -> start refresh 2024-05-05 11:29:05.896 INFO (MainThread) [custom_components.mbapi2020.oauth] Start async_refresh_access_token() with refresh_token 2024-05-05 11:29:05.896 INFO (MainThread) [custom_components.mbapi2020.oauth] Auth token refresh preflight request 1 2024-05-05 11:29:06.144 ERROR (MainThread) [custom_components.mbapi2020.oauth] Error requesting: https://id.mercedes-benz.com/as/token.oauth2 - 0 - {"error_description":"unknown, invalid, or expired refresh token","error":"invalid_grant"} 2024-05-05 11:29:06.145 ERROR (MainThread) [custom_components.mbapi2020] Authentication failed. Please reauthenticate.

What version of MBAPI2020 do use?

v0.13.0

What was the last working version of MBAPI2020?

No response

What type of installation are you running?

Home Assistant OS

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

cosmos1978 commented 5 months ago

reinstall fixed the issue

cosmos1978 commented 5 months ago

closed