homer icon indicating copy to clipboard operation
homer copied to clipboard

Homer7 - dashboards broken for all users - "/api/v3/*" HTTP 400

Open JCrabtree911 opened this issue 1 year ago • 2 comments

Homer 7.10.29 on Ubuntu 20.04.6 (LTS) Users cannot modify dashboards.

From the front-end requests to any of the API /api/v3/ receive an HTTP 400 (Bad Request) response and I can see that the request headers from the browser do not include 'Auth-Token', which is specified in the default webapp_config.js

In the homer-app.log I see this any time I try to add an item to a dashboard

"Couldn't add dashboard to table user_settings: pq: invalid input syntax for type json"

JCrabtree911 avatar Sep 27 '23 14:09 JCrabtree911

Please star this repository to motivate the developers and to get higher priority! :star:

github-actions[bot] avatar Sep 27 '23 14:09 github-actions[bot]

Auth-Token header is not for authorization from browser, can you please check that Authorization header is applied in your requests? Likely it is there(otherwise you'd be kicked out to login page)

Can you also provide export of one of dashboards that don't work? It could be possible there's some issue there. To get export, do following steps: image

AlexeyOplachko avatar Sep 27 '23 15:09 AlexeyOplachko