Incremental API - Keep getting error "start_time must be more than 60 seconds ago" | Community
Skip to main content

Incremental API - Keep getting error "start_time must be more than 60 seconds ago"

  • February 7, 2023
  • 4 replies
  • 0 views

Hey folks,

I'm trying out the Incremental API for the first time since I think it will serve our purposes better than the traditional query - however I keep getting the "start_time must be more than 60 seconds ago" error even though I am setting the start_time to be 2 hours prior to now. The current time as of this post is 1675779873.

Sample callout:

https://sample.zendesk.com/api/v2/incremental/tickets.json?start_time=1675772190837

RESPONSE:
{"error":"StartTimeTooRecent","description":"start_time must be more than 60 seconds ago"}

What am I doing wrong here? Thanks for any and all help you can provide.

4 replies

  • Author
  • February 7, 2023

I've even tried going 26 hours back and same issue. 


Eric27
  • February 7, 2023
Hey Colin, 

Can you try not going down to the millisecond and letting me know if that works? i.e. https://sample.zendesk.com/api/v2/incremental/tickets.json?start_time=1675772190

Thanks!
 

  • Author
  • February 7, 2023

Hey @eric27 - that worked. Thank you for the tip. Is the 10 digit format the standard to use across Zendesk? Thanks!


Eric27
  • February 7, 2023
Hey Colin,

It is, though we should definitely have that called out in our documentation. I'll get that sorted.

Have a great day!