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 when trying to fetch my API key #35

Open
Andbur01 opened this issue Oct 17, 2024 · 0 comments
Open

Error when trying to fetch my API key #35

Andbur01 opened this issue Oct 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Andbur01
Copy link

Describe The Bug:
I was planning to switch my gluehome configuration from basic authentication to API method, but when trying to fetch my API key using the suggested code I am getting an error saying “Limit of 10 api keys reached”.

curl -i --location --request POST 'https://user-api.gluehome.com/v1/api-keys'
--header 'Content-Type: application/json'
-u "username":"password"
--data-raw '{
"name": "My Test Key",
"scopes": ["events.read", "locks.read", "locks.write"]
}'

To Reproduce:
Pasting the POST request into the terminal using my username & password inserted, and I get an error

Expected behavior:
Would expect to get a valid API key back that can be used for the plugin authentication configuration.
IMG_6577

Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

Screenshots:

Environment:

  • Plugin Version:
  • Homebridge Version:
  • Node.js Version:
  • NPM Version:
  • Operating System:
@Andbur01 Andbur01 added the bug Something isn't working label Oct 17, 2024
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

1 participant