question

bclenney avatar image
bclenney asked David Marginian answered

API call returning 3 days data for 10 min call window

We have been integrated to the Clover API for quite a while. Recently we started seeing "HTTP/1.1 500 Internal Server Error" pop up when troubleshooting why no sales data was bein returned. Looking in the Clover API knowledgebase this was mentioned "performing an intensive the server might not return a result" . So we closed the larger window to only asking for the last 10 mins of sales data and the API returned 3 days of sales data. Have not had this issue with the Clover API before and nothing had changed on the internal server running the API. Pulling from Orders > ClientCreatedTime > Lineitems.


Any help would be appreciated as we are unable to continuously pulls sales data for our current clients.

REST API
1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian answered

In a moderators only comment add some details such as the request you are making and your merchant id.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian answered

Our API uses Unix timestamps with millis, time filters should be 13 digits - https://docs.clover.com/docs/applying-filters.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community