Budibase/budibase · error · Error
Unable to paginate with string based bookmarks
Error message
Unable to paginate with string based bookmarks
What it means
Error "Unable to paginate with string based bookmarks" thrown in Budibase/budibase.
Source
Thrown at packages/server/src/sdk/workspace/rows/search/internal/sqs.ts:490
const sort: SortJson = {}
for (const [field, sortInfo] of Object.entries(params.sort)) {
if (!sortInfo) {
continue
}
const entry = resolveSortEntry(field, sortInfo.direction, sortInfo.type)
sort[entry.key] = {
direction: entry.direction,
type: entry.type,
}
}
if (Object.keys(sort).length) {
request.sort = sort
}
}
}
if (params.bookmark && typeof params.bookmark !== "number") {
throw new Error("Unable to paginate with string based bookmarks")
}
const bookmark: number = (params.bookmark as number) || 0
// limits don't apply if we doing a row ID search
if (!isSearchingByRowID(searchFilters) && params.limit) {
paginate = true
request.paginate = {
limit: params.limit + 1,
offset: bookmark,
}
}
const enrichedRequest = await enrichQueryJson(request)
try {
const [rows, totalRows] = await Promise.all([
runSqlQuery(enrichedRequest, allTables, relationships),
options.countRowsView on GitHub (pinned to a81a902e9a)
When it happens
Trigger: Thrown at packages/server/src/sdk/workspace/rows/search/internal/sqs.ts:490 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of Budibase/budibase@a81a902e9a (2026-08-29).
Data as JSON: /api/errors/09a09ff7bd0b1c85.
Report an issue: GitHub.