Amount of pages limited to 40?

Hi prismic community

I encountered a problem with our studio website:

The site is run with next.js, netlify, github and prismic. Somehow the site can't render more than 40 subpages, I have no idea why. I don't know if the problem is with prismic or the other elements of our stack. Do you have an idea?Thanks for your answer!

Hi Team,

Welcome to the community!

Results coming the Rest API are paginated to 20 results by default, but that can be increased to 100.

You can read more about this here:
https://prismic.io/docs/reactjs/query-the-api/pagination-for-results

It’s sound like your page size has been set to 40.

Let me know if you have any more questions.

Thanks.

Problem solved, thanks a lot!

1 Like