Helicone Community Page

Updated 2 weeks ago

Error 400 when Calling Get User Data

Error 400 when calling Get User Data in https://docs.helicone.ai/rest/user/post-v1userquery

I tried both in JS and Postman.
L
3 comments
Okay, muscle memory issue - there is no bearer in the header value.

But now I'm not getting any results passing the userId (the string value that I copy from dashboard).

I set start and end time to be 0 and Date.now()/1000 respectively.
Okay, so parameters are misleading. It is NOT seconds, it is Miliseconds.
Using Date.now() as unix microseconds and passing that to seconds variable works πŸ˜„
Add a reply
Sign up and join the conversation on Discord