Skip to main content
Answered

Authorization Error - activity:read_permission

  • Jun 10, 2024 3:26 AM UTC
  • 4 replies
  • 1308 views

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

4 replies

Jan_Mantau
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Answer
  • Jun 10, 2024 6:47 AM UTC

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
  • Jun 10, 2024 12:54 PM UTC

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
  • Sep 18, 2024 3:26 AM UTC

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
Forum|alt.badge.img+26
  • Hub Powerhouse
  • Sep 18, 2024 9:13 AM UTC

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