grafana / strava-datasource

Strava datasource for Grafana dashboard
MIT License
185 stars 26 forks source link

401 Unauthorized in Dashboards / Explore #69

Closed wmoss closed 1 year ago

wmoss commented 1 year ago

I'm consistently getting a 401 Unauthorized in Dashboards and Explore (see attached photo), however, I am able to configure the plugin and it correctly authenticates me. It's a local Grafana install, if that matters. Sorry, I'm somewhat new to Grafana so I'm not sure how to debug or provide the error responses from the Strava API (or queries it's sending out), but am happy to post those if you can explain how I do that.

Explore View:

image

Datasource Settings:

image
wmoss commented 1 year ago

Whoops, seems like I needed to have the Auth Type as OAuth not Refresh Token.