homarr icon indicating copy to clipboard operation
homarr copied to clipboard

Can't access the Homarr API

Open mSarheed opened this issue 8 months ago • 6 comments

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

SCR-20240610-thld

Please tick the boxes

  • [X] I confirm that I attached the proper logs
  • [X] I've read the docs
  • [X] I've checked for duplicate issues
  • [X] I've tried to debug myself

mSarheed avatar Jun 10 '24 20:06 mSarheed