Community
Why does a harsh event query yielding no results return bad request?
about 2 years ago by Emiko
When invoking the harsh event endpoint I get back a response code of 400 bad request with the following message:
rpc error: code = InvalidArgument desc = 0 harsh events found for deviceId , timestamp
Where DEVICEID
and TIMESTAMP
are 64-bit integers representing the Samsara ID for the vehicle and the time in UNIX milliseconds respectively. Shouldn't a query yielding no results return a 200 OK with no data?