Skip to main content
Solved

Authorization Error - activity:read_permission


Forum|alt.badge.img+4

I receive this response when trying to access the activities endpoint for v3.  I'm able to use the athlete endpoint and get information.  I used the activity:read_all scope when authorizing my own account.

{
"message": "Authorization Error",
"errors": [
{
"resource": "AccessToken",
"field": "activity:read_permission",
"code": "missing"
}
]
}

Best answer by Jan_Mantau

Did you actually use the access token you got from when you authorized your account? It's not the same as the one in the api settings page.

View original
Did this topic help you find an answer to your question?

4 replies

Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 895 replies
  • Answer
  • June 10, 2024

Did you actually use the access token you got from when you authorized your account? It's not the same as the one in the api settings page.


Forum|alt.badge.img+4
  • Author
  • Hub Rookie
  • 1 reply
  • June 10, 2024

Thank You - Yes, I was not using the correct refresh token to get my access token.  I was using the API refresh token and then also using it's access token.  I authorized and received the right tokens to be able to move forward.


  • Hub Starter
  • 1 reply
  • September 18, 2024

Hi, can you elaborate on this? After I authorize I get brought to the redirect URL I provide. My understanding is that within that URL, after code= my authorization code is provided. How do I then go about turning that code into the appropriate access token?


Jan_Mantau
Superuser
Forum|alt.badge.img+26
  • Superuser
  • 895 replies
  • September 18, 2024

@kwyx That is explained in https://developers.strava.com/docs/getting-started/ beginning from point 10.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings