Skip to main content
Contributor II
June 14, 2023
Solved

API response: "If a date filter is provided, sort field must also match or be omitted."

  • June 14, 2023
  • 2 replies
  • 88 views

The response detail is not accurate, since I’m omitting the sort param.

 

 

This topic has been closed for replies.
Best answer by Brian Turcotte

Hi @portermetrics!

My apologies for the delay here!

I performed some further testing to simulate your use case, and I received the same error in the same context - so my suggestion would be to include a sort method in further calls, and I will speak to our documentation team to determine if there is another interpretation for that error.

 

Best,

Brian

2 replies

Brian Turcotte
Klaviyo Alum
June 15, 2023

Hi @portermetrics!

I’m going to check with Engineering on this and I will get back to you shortly!

 

Best,

Brian

Brian Turcotte
Klaviyo Alum
June 26, 2023

Hi @portermetrics!

My apologies for the delay here!

I performed some further testing to simulate your use case, and I received the same error in the same context - so my suggestion would be to include a sort method in further calls, and I will speak to our documentation team to determine if there is another interpretation for that error.

 

Best,

Brian