cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I filter by after using correct timestamp

luisgustavom1
Mt. Kenya

What I'm doing wrong? The format timestamp is correctly?
I want get the activities in a range of 1 month
before = 1709383329531 // "2024-03-02T12:42:09.531Z"
after = 1706877451938 // "2024-02-02T12:37:31.938Z"

Screen Shot 2024-03-02 at 09.45.40.png

1 ACCEPTED SOLUTION

ActivityFix
Kilimanjaro

It looks like your timestamps are using milliseconds and Strava is interpreting them as seconds which is why the error you get says that the timestamp is in the future. Try sending your request with the last 3 digits of each timestamp removed (use timestamp/1000 or some other form of rounding/truncating)

View solution in original post

1 REPLY 1

ActivityFix
Kilimanjaro

It looks like your timestamps are using milliseconds and Strava is interpreting them as seconds which is why the error you get says that the timestamp is in the future. Try sending your request with the last 3 digits of each timestamp removed (use timestamp/1000 or some other form of rounding/truncating)

Ready, Get Set, Go!

Welcome to the Community - here is your guide to help you get started!


Know how to use Community


Understand Community Settings