HomeAssistant widget 401 unauthorized error #5074
Replies: 12 comments 14 replies
|
Instead of just summarizing like that can you provide the actual results of each of the steps in the troubleshooting guide that’s linked above |
|
try editing your services.yaml home assistant stanza to replace the "api_key" with just "key" |
|
I have the same issue, this integration was working for quite a long time. My services.yaml key, has always been "key". Maybe this is due to a recent Homeassistant upgrade? Mine only uses the default stuff, no custom sensors, and also works via CURL. |
|
Any other ideas here? |
|
I also get the "401 unauthorized error" even though it works with CURL. |
|
home-assistant/supervisor#5045 This 401 error is connected with ingress session token I think, and there are other add-ons which uses e.g. web page with the same problem. |
|
Not sure, that original Homeassistant issue was opened in April of 2024, the Homepage integration worked fine long after that. It just stopped working a few releases ago. |
|
Is the widget working for anyone at the moment or down for everyone? |
|
Looking at the original configuration posted, I do not see quotes around {{HOMEPAGE_VAR_HOMEASSISTANT_KEY}}.
|
|
I'm having the same issue. I have the key hard coded in services.yaml and I re-deployed the docker image, still 401. Fun stuff. |
|
This discussion has been automatically closed due to inactivity. See our contributing guidelines for more details. |
|
This discussion has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion for related concerns. See our contributing guidelines for more details. |



Uh oh!
There was an error while loading. Please reload this page.
Description
I am trying to use the Homeassistant widget of Homepage, but the error I receive back is always "401 - unauthorized".
I followed throuble shooting steps as reported below, but unsuccessfully.
I really cannot figure it out what is the problem.
homepage version
v1.0.4
Installation method
Docker
Configuration
Container Logs
No response
Browser Logs
No response
Troubleshooting
I tried several alternatives, such as testing the endpoint with postman or doing a request using curl from within the container, and they all work as expected. I also tried deleting cookies or opening the page from another browser from my usual Chrome, and there are no differences.
All reactions