{"record":{"id":"53ae4eee33cd7ad9","repo":"Budibase/budibase","slug":"table-is-not-configured-for-the-current-operation","errorCode":null,"errorMessage":"Table is not configured for the current operation","messagePattern":"Table is not configured for the current operation","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/server/src/ai/tools/budibase/tables.ts","lineNumber":98,"sourceCode":"        mode: \"admin\",\n      },\n      authorization: {\n        permissionType: PermissionType.TABLE,\n        permissionLevel: PermissionLevel.READ,\n        resolveResourceId: input =>\n          typeof input === \"object\" && input && \"tableId\" in input\n            ? String(input.tableId)\n            : undefined,\n      },\n      tool: tool({\n        description: \"Get details about a specific table by ID\",\n        inputSchema: z.object({\n          tableId: z.string().describe(\"The ID of the table to retrieve\"),\n        }),\n        execute: async input => {\n          const { tableId } = input\n          if (!allowedTableIdSet.has(tableId)) {\n            throw new Error(\"Table is not configured for the current operation\")\n          }\n          const table = await sdk.tables.getTable(tableId)\n          return { table: sanitizeAgentTable(table) }\n        },\n      }),\n    },\n  ]\n}\n","sourceCodeStart":80,"sourceCodeEnd":107,"githubUrl":"https://github.com/Budibase/budibase/blob/a81a902e9a8fe55b467d106765f6638f12e35c49/packages/server/src/ai/tools/budibase/tables.ts#L80-L107","documentation":"Error \"Table is not configured for the current operation\" thrown in Budibase/budibase.","triggerScenarios":"Thrown at packages/server/src/ai/tools/budibase/tables.ts:98 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"a81a902e9a8fe55b467d106765f6638f12e35c49","analyzedAt":"2026-08-29T01:03:10.972Z","schemaVersion":2},"datasetVersion":"2026-08-29T02:17:18.158Z"}