Open misterscrooby opened 2 years ago
This is an issue I am facing as well. I don't know why it's giving a 401, even though proper API permissions are in config.yaml
.
To get to the token, I use the "SSH & Web Terminal" add-on. Once in the CLI, just run echo $SUPERVISOR_TOKEN
and you will get the token.
The SUPERVISOR_TOKEN
option was added to temporarily fix the issue, but it isn't permanent as the token may change, etc.
have you tried switching the hassio_role
?
https://developers.home-assistant.io/docs/add-ons/communication?_highlight=hassio_api#supervisor-api
Hey there,
after the last update I am not able to run the addon because of a 401 error relating to the supervisor token. Unfortunatly I am not able to find any helpful information how to get or generate a token that can be used by the addon. Can you please enlighten me how to make it work?
Thanks!
Regards