JohNan / homeassistant-wellbeing

Get the status from your Electrolux devices connected to Wellbeing
MIT License
70 stars 17 forks source link

Unable to login #89

Open amnesia-drop opened 5 months ago

amnesia-drop commented 5 months ago

I keep getting errors that my username/password is incorrect. I can confirm that it is correct since it works fine on Electrolux app and website. Your "documentation" does not provide anything about this!

eosban commented 5 months ago

I also encountered this problem while trying to set up an entity with a new Electrolux account just now.

[custom_components.wellbeing] Error, got error 401 (Unauthorized) from server https://api.ocp.electrolux.one/one-account-authentication/api/v1/authenticate - 401, message='Unauthorized', url=URL('https://api.ocp.electrolux.one/one-account-authentication/api/v1/authenticate')

hermanops commented 5 months ago

I'm getting: 24-02-15 18:58:35.973 ERROR (MainThread) [custom_components.wellbeing] Error, got error 401 (Unauthorized) from server https://api.ocp.electrolux.one/one-account-authorization/api/v1/token - 401, message='Unauthorized', url=URL('https://api.ocp.electrolux.one/one-account-authorization/api/v1/token') 2024-02-15 18:58:35.974 ERROR (MainThread) [custom_components.wellbeing] AccessToken 2 is missing

orangesunny commented 5 months ago

Feels like something has changed on the API side 😬 Tried removing and re-downloading different versions of the integration, but no success. Unable to login.

I sent some coffee so your debugging time is more enjoyable, @JohNan. 🤞

hermanops commented 5 months ago

Seems to work again

orangesunny commented 5 months ago

Seems to work again

Can confirm. Probably just an API hiccup.

nightwissh commented 3 months ago

Looks like I got a new error. After setup a few hours ago it worked fine so I left it be, then restarted Home Assistant a few times. Core 2024.4.3 Supervisor] 2024.04.0 Operating System 12.2 Frontend 20240404.2

using latest v1.0.17

2024-04-15 23:44:34.621 ERROR (MainThread) [custom_components.wellbeing] Error, got error 429 () from server https://api.ocp.electrolux.one/one-account-authorization/api/v1/token - 429, message='', url=URL('https://api.ocp.electrolux.one/one-account-authorization/api/v1/token')
2024-04-15 23:44:34.622 ERROR (MainThread) [custom_components.wellbeing] AccessToken 2 is missing
obs945 commented 3 months ago

I encountered same issue as @nightwissh

2024-04-17 13:39:04.146 ERROR (MainThread) [custom_components.wellbeing] AccessToken 2 is missing 2024-04-17 13:39:06.666 ERROR (MainThread) [custom_components.wellbeing] Error, got error 429 () from server https://api.ocp.electrolux.one/one-account-authorization/api/v1/token - 429, message='', url=URL('https://api.ocp.electrolux.one/one-account-authorization/api/v1/token')

thoompje commented 2 months ago

Anyone fixed the issue with the access token message?