Set.paginate(${cursor})
on the cursors generated by Collection.all()
is throwing an error after many pages were processed, regarding illegal timestamp
/node_modules/.pnpm/fauna@1.3.1/node_modules/fauna/src/client.ts:387
return new InvalidRequestError(failure, httpStatus);
^
InvalidRequestError: Requested timestamp 2024-05-11T21:17:28.775091Z less than minimum allowed timestamp 2024-05-11T21:17:29.491359Z. fauna.storage.api.ReadValidTimeBelowMVT: The valid time of 2024-05-11T21:17:28.775091Z is below collection's CollectionID(1033) mvt: 2024-05-11T21:17:29.491359Z.
at _Client.getServiceError_fn (/node_modules/.pnpm/fauna@1.3.1/node_modules/fauna/src/client.ts:387:18)
at _Client.getError_fn (/node_modules/.pnpm/fauna@1.3.1/node_modules/fauna/src/client.ts:309:16)
at _Client.query_fn (/node_modules/.pnpm/fauna@1.3.1/node_modules/fauna/src/client.ts:483:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at fetchAll (/packages/store/utils.ts:19:18)
at fetchAll (/packages/store/utils.ts:33:24)
at fetchAll (/packages/store/utils.ts:33:24)
at fetchAll (/packages/store/utils.ts:33:24)
at fetchAll (/packages/store/utils.ts:33:24)
at fetchAll (/packages/store/utils.ts:33:24) {
httpStatus: 400,
code: 'invalid_request',
queryInfo: {
txn_ts: undefined,
summary: undefined,
query_tags: undefined,
stats: undefined
},
constraint_failures: undefined
}
Node.js v22.1.0