Skip to main content

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"
}
]
}

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.


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.


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?


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


Reply