miele icon indicating copy to clipboard operation
miele copied to clipboard

Invalid grant

Open CFenner opened this issue 3 months ago • 2 comments

The problem

I disabled the Miele integration some days ago. Now I enabled it again but it's not starting.

2024-03-08 14:15:30.813 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request for miele_e087c8ef_0b28_4282_b58d_ceae053e71f8 failed (invalid_grant): unknown error
2024-03-08 14:16:51.382 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request for miele_e087c8ef_0b28_4282_b58d_ceae053e71f8 failed (invalid_grant): unknown error
2024-03-08 14:18:11.875 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request for miele_e087c8ef_0b28_4282_b58d_ceae053e71f8 failed (invalid_grant): unknown error
2024-03-08 14:19:32.130 ERROR (MainThread) [homeassistant.helpers.config_entry_oauth2_flow] Token request for miele_e087c8ef_0b28_4282_b58d_ceae053e71f8 failed (invalid_grant): unknown error

To me it's not that clear what I need to do now. Should I reinstall?

~~Maybe the integration is missing a reauthentication flow.~~

Version of miele integration having the issue?

latest

Version of Home Assistant Core having the issue?

latest

Anything in the logs that might be useful for us?

No response

Additional information

No response

CFenner avatar Mar 08 '24 13:03 CFenner

The reauth flow is implemented but it obviously fails to pick up a trigger. The error messages above are generated in HA helper functions and the messages are not very helpful but I have not seen any reports of this error before. I have had my test systems turned off for weeks but they have always started without hickups.

My advice is to reinstall the integration, I guess that you already have tried to restart your Home Assistant.

astrandb avatar Mar 08 '24 16:03 astrandb

I requested new credentials and added the integration again, works all fine now.

CFenner avatar Mar 11 '24 08:03 CFenner