Problem Symptoms:
GET /events using the Node SDK with a starts_before parameter is returning no results or unexpected.
The timestamp being passed in the starts_before parameter is the javascript date object Date (e.g Date.now())
Description:
The API only accepts the epoch value to the second and Date.now() returns to the millisecond
Resolution:
Pass the parameter like this:
{starts_before: Math.floor(Date.now() / 1000.0)}
Updated
Comments
0 comments
Please sign in to leave a comment.