-
-
Notifications
You must be signed in to change notification settings - Fork 292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't access the Homarr API #2069
Comments
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.
|
Thanks for checking. I'll investigate this |
I'm able to reproduce locally. It seems that the reason why it's working in the API documentation is that the cookie is sent by the browser. |
Hello 👋, this issue has been open for 60 days without activity. We mark issues to help prioritise and close dead issues. Can you confirm that this issue is still relevant on the latest version? I'll remove the stale label as soon as there is further activity on this issue. Thank you 🙏 |
API support will be greatly improved in the upcoming v1 release |
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
The text was updated successfully, but these errors were encountered: