Hey team,
Is there a way to limit the number of results in the Links vertical to 100? The google custom search engine API has a limitation of 100 results and afterwards it errors out, so I was hoping to avoid this error by creating a cap on the number of results returned.
documentation for reference (see the ‘start’ variable): Method: cse.list | Custom Search JSON API | Google Developers
Thanks!
Hi Daniel,
Thanks for reaching out. We recommend taking a look at this post for options on addressing this issue: Recommended Change for Links Verticals: Set verticalLimit and Remove First/Last Page Buttons
We are also looking into implementing default behavior going forward to help mitigate this.
Best,
Alyssa
Thanks @Alyssa_Hubbard! I have already implemented both of these solutions but it still does not solve the issue of the entire experience error-ing out after more than 100 results are viewed (10 pages of content). Is there anything more we can do here e.g. limiting the number of results returned to be < 100?
Thanks!
Hi Daniel,
We’re working to implement default behavior to resolve this in the backend config and will circle back with you on a resolve for this. But in the meantime, we recommend those changes above or removing pagination from the Links vertical.
cc: @roser
Thanks,
Alyssa