node-strava/node-strava-v3

Problem with listing athlete activities after the date

jeremyvinec opened this issue · 2 comments

Hi, I would like to list the activities of an athlete only after a certain date. I can retrieve the list when I use before but when I use after postman gives me an error:
{
"message": "Bad Request",
"errors": [
{
"resource": "Application",
"field": "after",
"code": "future"
}
]
}
here is my request :
https://www.strava.com/api/v3/athlete/activities?before=1606690799999&after=1606086000000

Patch welcome.

Looks like Strava is telling you that your after date is in the future. I checked our code and we are passing through both before and after , so this is not a bug with this module.