Skip to content
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

Error code 401 being returned for non-administrator user #140

Open
6 tasks done
johnwelford opened this issue May 1, 2024 · 1 comment
Open
6 tasks done

Error code 401 being returned for non-administrator user #140

johnwelford opened this issue May 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@johnwelford
Copy link

Error code 401 being returned for non-administrator user.

I have:

To Reproduce

  1. Made a functional setup for an administrator user
  2. Copy the same setup to a user account that is not an administrator
  3. Set up a new API key for the user and copy across
  4. Opening on Garmin gives "HTTP requset returned error code = 401" and no functionality
  5. Setting the user account to administrator removes the error and gives normal functionality

Expected behavior
Did not expect that administrator level user account was necessary

Garmin Device (please complete the following information):

  • Model: Forerunner 245 Music

Smartphone (please complete the following information):

  • Device: iPhoneSE
  • OS: iOS17.4.1

Additional context
Similar to issue 39, but without battery reporting being turned on?

@johnwelford johnwelford added the bug Something isn't working label May 1, 2024
@philipabbey
Copy link
Collaborator

We have non-Administrators using the application just fine. Your steps for recreating the bug may well not work for another JSON file. We know from previous experience that issues have been localised to a specific menu item.

  • Can you isolate which menu item(s) is/are causing the issue as that provides a clue? Without this information this issue will have to be parked as it is too non-specific.
  • Did the web-based configuration editor also fail for the non-Administrator user? The reason for asking is I'm trying to discriminate between the JSON menu file causing the 401 error (that should be independent of any API access and hence independent of any API key) and the API call doing so.
  • Do you have any insights into how permissions may affect HA entities?

This may well be a show stopper. We did not expect Administrator priviledges to be getting in the way either. There is absolutely no promise this can be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants