-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
API key authorization not working - getting 401 error #11715
Comments
This works for me on my machine - you will need to provide more details for us to able to reproduce this.
|
Thanks. Please my responses for your questions.
Below is the error. <title>401 Unauthorized</title>UnauthorizedThis server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. Server/2.4.29 (Unix) OpenSSL/1.0.2n mod_auth_kerb/5.4 Server at grafana.XXXX.com Port 443 |
Grafana version is v4.6.3 |
Not really sure how to help you - this is too little information to see what the problem is. Is it impossible to see the Grafana server logs? Do any other api calls work? (Like the search endpoint) |
closing due to lack of information to help / troubleshoot |
curl -H "Authorization: Bearer XXXXXXXXXXXXXXXXX" https://grafana.xxxx.com/api/dashboards/home"
I have created API key as admin in main org and got the above curl command provided during api key creation. But still it is not working.
The text was updated successfully, but these errors were encountered: