Documents
no-find-page-in-document-service
no-find-page-in-document-service
Type
External
Status
Published
Created
Mar 5, 2026
Updated
Mar 5, 2026

import Intro from '/docs/snippets/breaking-change-page-intro.md'
import MigrationIntro from '/docs/snippets/breaking-change-page-migration-intro.md'

No findPage() in Document Service API#

In Strapi 5, the Document Service API replaces the Entity Service API. There is no findPage() method available in the Document Service API and users should use the findMany() method instead.

Breaking change description#

In Strapi v4

In Strapi v4 you could use the findPage() method from the Entity Service API, for instance as follows:

strapi.entityService.findPage('api::article.article', {
  start: 10,
  limit: 15,
});

In Strapi 5

In Strapi 5 the Entity Service API is deprecated and you should use the Document Service API instead. The findMany() method can be used as follows:

strapi.documents("api::article.article").findMany({
  limit: 10,
  start: 0,
});

Migration#

Manual migration#

In your custom code, replace any occurences of the Entity Service API's findPage() method by the findMany() method from the Document Service API.