Notion API · api · fg-0460

Notion page response shows only 25 relations or people even though the property holds more

If you see Relation array stops at 25 entries, the cause and the fix for Notion API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
Relation array stops at 25 entrieshas_more: true on a relation property in a page objectRollup or formula over a large relation gives a wrong total
Cause
Page and query responses include at most 25 references for relation and people properties and at most 25 mentions in title or rich text. Formulas also evaluate only the first 25 relation references.
Fix
Read the full value through the page property item endpoint and page through every result.
Apply
let cursor; const ids = []; do { const r = await notion.pages.properties.retrieve({ page_id, property_id, start_cursor: cursor }); ids.push(...r.results.map(x => x.relation.id)); cursor = r.next_cursor ?? undefined; } while (cursor);
Affected
Notion REST API, all versions, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun