Bad Request on athletes/activities using 'after' filter

102 views
Skip to first unread message

Lukas Reber

unread,
Sep 12, 2022, 3:18:43 PM9/12/22
to Strava API
hi,

no matter what timestamp i put in the 'after' parameter on athlete/activities, i always get a 400 bad request field: after, code: future error back.


anyone else having the same issue? what am I missing here?

Thanks!

Seb

unread,
Sep 13, 2022, 11:02:51 AM9/13/22
to Strava API
You need to make sure you are using an Epoch time stamp that is in seconds, not milliseconds. Assuming you want all activities after 1/1/2022 12:00 AM UTC, use the following URL: https://www.strava.com/api/v3/athlete/activities?after=1640995200&page=1&per_page=30

Lukas Reber

unread,
Sep 15, 2022, 9:03:36 AM9/15/22
to Strava API
ah perfect, thank you!
Reply all
Reply to author
Forward
0 new messages