Open mSarheed opened 2 weeks ago
Hi 👋. Thank you for submitting your first issue to Homarr. Please ensure that you've provided all nessesary information. You can use the three dots > Edit button to update your post with additional images and information. Depending on the current volume of requests, the team should get in conact with you shortly.
Hi, you might want to report this to the Home Assistant addon author. It is not maintained by us.
@manuel-rw I am now running Homarr in Docker (using Docker Compose) and still getting the same message "Unauthorized" when calling the API with the bearer personal access token that is displayed on the API page.
curl -X GET http://192.168.1.200:7575/api/boards/all \ -H "Authorization: Bearer 9d9abfbe-e189-457b-be55-728d83c38e4a" {"message":"UNAUTHORIZED","code":"UNAUTHORIZED"}
Thanks for checking. I'll investigate this
Environment
Cloud Service (Static)
Version
0.15.3
Describe the problem
My Homarr instance is running on the Home Assistant Add-on. I'm trying to use the Homarr API to ping certain apps or dashboards, but I keep getting unauthorized (I'm using the personal access token as bearer key from the Homarr Dashboard).
curl -H "Authorization: Bearer personal-access-token-here" http://192.168.1.5:7575/api/boards/all {"message":"UNAUTHORIZED","code":"UNAUTHORIZED"}%
I have tried various endpoints from the swagger interface, but that just shows "TypeError: Load Failed"
Logs
No response
Context
Please tick the boxes