Skip to content

Commit

Permalink
Add example authentication error to readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Izak Marais committed Jul 18, 2019
1 parent fa50819 commit 2211fb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ When you create a link from Grafana, you can enable the _Variable values_ forwar
The link will render a dashboard with your current variable values.

**apitoken**: A Grafana authentication api token. Use this if you have auth enabled on Grafana.
Syntax: `apitoken={your-tokenstring}`.
Syntax: `apitoken={your-tokenstring}`. If you are getting `Got Status 401 Unauthorized, message: {"message":"Unauthorized"}`
error messages, typically it is because you forgot to set this parameter.

**template**: Optionally specify a custom TeX template file.
Syntax `template=templateName` implies the grafana-reporter should have access to a template file on the server at `templates/templateName.tex`.
Expand Down

0 comments on commit 2211fb6

Please sign in to comment.