different-ai/openwork · error · EnterpriseMcpCatalogError
MCP_RESOURCE_RESULT_LIMIT
MCP_RESOURCE_RESULT_LIMIT
Error message
MCP_RESOURCE_RESULT_LIMIT
What it means
Error "MCP_RESOURCE_RESULT_LIMIT" thrown in different-ai/openwork.
Source
Thrown at packages/enterprise-mcp-client/src/resource-catalog.ts:102
})
}
export function collectEnterpriseMcpResourceTemplates(input: {
listPage: (cursor: string | undefined, options: RequestOptions) => Promise<ResourceTemplatePage>
requestOptions: RequestOptions
}) {
return collectPages({
requestOptions: input.requestOptions,
listPage: async (cursor, options) => {
const result = await input.listPage(cursor, options)
return { items: result.resourceTemplates, nextCursor: result.nextCursor }
},
})
}
export function assertEnterpriseMcpResourceResult(value: unknown): void {
if (serializedBytes(value) > ENTERPRISE_MCP_RESOURCE_RESULT_LIMIT_BYTES) {
throw new EnterpriseMcpCatalogError("MCP_RESOURCE_RESULT_LIMIT")
}
}
View on GitHub (pinned to 2b7df46e8a)
When it happens
Trigger: Thrown at packages/enterprise-mcp-client/src/resource-catalog.ts:102 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of different-ai/openwork@2b7df46e8a (2026-09-01).
Data as JSON: /api/errors/9c10714d42341664.
Report an issue: GitHub.