openclaw/openclaw · error · ClaudeCatalogParamsError
hostIds must be a bounded array
Error message
hostIds must be a bounded array
What it means
Error "hostIds must be a bounded array" thrown in openclaw/openclaw.
Source
Thrown at extensions/anthropic/session-catalog.ts:1388
hostIds?: string[];
cursors?: Record<string, string>;
} {
if (value === undefined || value === null) {
return { limitPerHost: DEFAULT_PAGE_LIMIT };
}
if (!isRecord(value)) {
throw new ClaudeCatalogParamsError("Claude session catalog parameters must be an object");
}
const allowed = new Set(["search", "limitPerHost", "hostIds", "cursors"]);
const unknown = Object.keys(value).find((key) => !allowed.has(key));
if (unknown) {
throw new ClaudeCatalogParamsError(`unknown Claude session catalog parameter: ${unknown}`);
}
const search = readBoundedString(value.search, MAX_SEARCH_LENGTH);
let hostIds: string[] | undefined;
if (value.hostIds !== undefined) {
if (!Array.isArray(value.hostIds) || value.hostIds.length > MAX_HOSTS) {
throw new ClaudeCatalogParamsError("hostIds must be a bounded array");
}
hostIds = [
...new Set(
value.hostIds.map((hostId) => {
const normalized = readBoundedString(hostId, 256);
if (
!normalized ||
(normalized !== CLAUDE_LOCAL_SESSION_HOST_ID && !normalized.startsWith("node:"))
) {
throw new ClaudeCatalogParamsError("hostId is invalid");
}
return normalized;
}),
),
];
}
let cursors: Record<string, string> | undefined;
if (value.cursors !== undefined) {View on GitHub (pinned to 01804a7531)
When it happens
Trigger: Thrown at extensions/anthropic/session-catalog.ts:1388 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openclaw/openclaw@01804a7531 (2026-08-12).
Data as JSON: /api/errors/ac093a37d05fa15f.
Report an issue: GitHub.