Skip to main content

Hi, 

I’m trying to get access to my activities with GetActivityById, but it doesn’t work anymore with the Swagger Playground. I tried it with scope read or readall and I tried different ids. It worked last week but doesn’t work now and I don’t know what's the problem. 

{
"message": "Resource Not Found",
"errors": "
{
"resource": "Activity",
"field": "",
"code": "not found"
}
]
}

But I know there are Activities and the Ids are right.

Can someone help?

When you say scope read_all, do you mean activity:read_all, or just plain read_all?  For access to activity data you need the scope(s) beginning with activity:, the plain read/read_all ones are for access to a user’s routes and segments.

The scopes and their meanings are described here - https://developers.strava.com/docs/authentication/#detailsaboutrequestingaccess


Reply