API returning duplicates

Hi


We have experienced on 1 or 2 occasions a duplication of messages when returning tickets through the api.


An example of the url we are using :


https://<domain>.freshdesk.com/api/v2/search/tickets?query="created_at:>%272018-03-01%27"



It occurs around the time when changes are being made, so I am sure it is a timing / read consistency issue. I am not able to reproduce the issue at will.


We have a polling method which retrieves current tickets; the next time the polling mechanism runs after the error occurs the duplicate disappears. 


Can anyone give me any pointers as to the cause or how to eliminate it ?



Graham 





1 Comment

Hello Graham,


Since you've mentioned that you're trying to fetch tickets based on the created date, any changes made to the ticket shouldn't impact the results IMO! 


Can you give us some insight on what changes are made to the ticket so that we can dig into this little deeper?


Cheers!

Login or Signup to post a comment