Closed beldar closed 7 years ago
@beldar Have you tried adding toString()
to the end of the epoch? We currently only accept stringified epoch's at the API level.
.setTimestamp(new Date(event.timestamp).getTime().toString())
@cristiancavalli yep, that was it. The error message was very misleading tho...
Hey @beldar thanks for pointing this out -- I'll add some validation logic around this in the client and ping this thread with the commit. Sorry about that..
Error I'm getting:
Code using it:
which generates a timestamp such as
1503956668941
If
setTimestamp
is not used, it works fine.Running this on:
Thanks