Recent searches


No recent searches

API error - Invalid search: Requested response size was greater than Search Response Limits



Posted Sep 24, 2021

I am making a call using the search API and paging through the API call results.

https://myzendeskURL/api/v2/search.json?page=$pageNumber$&query=type%3Auser+created_at%3E2021-08-01

 

This works fine until I get to page 11 and I get the error in the title.


0

1

1 comment

Hello Mark,

This is expected and is documented in our developer docs for the Search API Results Limits whereas this endpoint returns up to 1000 results per query with a maximum of 100 results per page. If you request past the limit, a 422 response is expected. 

You many want to consider using the Incremental Export endpoint instead if you are looking to retrieve a huge set of data or by breaking the query into smaller pieces by limiting results to a specific date range.

Best,

Jeff C

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post