Groups
Groups
Sign in
Groups
Groups
Strava API
Conversations
About
Send feedback
Help
Bad Request on athletes/activities using 'after' filter
102 views
Skip to first unread message
Lukas Reber
unread,
Sep 12, 2022, 3:18:43 PM
9/12/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.
example:
https://www.strava.com/api/v3/athlete/activities?after=1640995200000&page=1&per_page=30
anyone else having the same issue? what am I missing here?
Thanks!
Seb
unread,
Sep 13, 2022, 11:02:51 AM
9/13/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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 AM
9/15/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Strava API
ah perfect, thank you!
Reply all
Reply to author
Forward
0 new messages