Community
Route audit-logs feed missing events.
over 2 years ago by Brian Hammer
https://api.samsara.com/fleet/routes/audit-logs/feed
Hi
We are calling the routes audit-logs fead every 5 seconds. Each time we call we use the "endCursor" from the previous call as the "after" parameter. Occasionally we are missing a route stop departure. If i go back and call the end point with the same "endCursor" i see in the log, the route stop departure shows up. Why is it not showing up the first time? How do I troubleshoot this? What logs can I give you?
The only thing I can think of trying is to stop using the new "endCursor" when the returned data field is empty. Would this make a difference?
Is the calling every 5 seconds a reasonable use pattern?
Thanks