Skip to main content
Solved

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


Forum|alt.badge.img+1

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

 

 

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

Brian Turcotte
Forum|alt.badge.img+37

Hi @portermetrics!

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

 

Best,

Brian


Brian Turcotte
Forum|alt.badge.img+37

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