Ultimate

X_CURSOR_VALUE_UNSUPPORTED

Means

a sort value cannot be carried in a cursor

Typical cause

a read ordered by a column whose values are objects, or by a number that is NaN/±Infinity — a cursor is JSON, and Date and bigint are the only non-JSON types it tags and revives. Raised where the cursor is MINTED, not where one arrives: the mistake is the read's own orderBy, so no retry and no fresh first page repairs it

Fix

order by a scalar column — .orderBy('createdAt') or .orderBy('id') — and project the composite value into the row instead

Listed under Policy and authz

This page as markdown