Error handling message: Unauthorized - What is it?

The details of this log message don’t say a lot:

Logger: homeassistant.components.websocket_api.http.connection.2745331824
Source: components/websocket_api/connection.py:97
Integration: websocket_api (documentation, issues)
First occurred: 9:10:18 AM (1 occurrences)
Last logged: 9:10:18 AM

Getting a lot of these:

Any ideas what can be the cause of this? I noticed this started happening maybe a week or two ago or so. Currently on 0.108.3 Core

I saw these when my custom component connected to HA - it tried to get list of users via REST API, but from some point HA only allows admins to do so and my tablet runs under a normal user.
So it boils down to restricted commands/requests I think - check your custom components first (if any).

It would be useful if the dialog box would tell the source of these errors, I use a handful of plugins installed through HACS, wouldn’t know which one it would be. Disabling all of them and re-enabling one every day or so isn’t something I would look forward to.

1 Like

hi,
did you ever found a way to identify the root cause? I have the same issue and have no way in telling what is causing it