UniFi - 401 Unauthorized

Great job!

I cant really take any Credit. Rsvi had hinted to the change in the unifi protect integration that solved the issue. I just copied it

Hey unfortunately this exact same error seems to have returned on HA 2024.12.0. Anyone else experiencing this error?

2 Likes

Yes, I have been getting this error since updating to 2024.12.0.
Sensors seem to be working.
I can’t see an option in the settings to reconfigure the user login.

Same failure for me on an Cloud Gateway Ultra
Completely deleted the unifi integration and restarted everything - still same error.
Sensors work - but all switches dont

Can you replicate this error?
@Robban

Same error here after last update. Swiches are not working anymore

I will check, I remember someone saying that the expected fix in the new python 3.13 wouldn’t get merged in time, and the fix in the library does not take effect on python 3.13 because it where supposed to be fixed

Thank, a fix would be appreaciated. I reverted back the update and now it works fine again.

Fix has been merged and targets 2024.12.2 release

Installed 12.2 and everything is working again. Thank you very much!

1 Like

Thanks for the feedback! Nice to know that it works