{"record":{"id":"4271a2f9fab9e4cb","repo":"Budibase/budibase","slug":"no-table-supplied","errorCode":null,"errorMessage":"No table supplied","messagePattern":"No table supplied","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/server/src/sdk/workspace/tables/external/index.ts","lineNumber":96,"sourceCode":"        `Column \"${key}\" has subtype \"${column.subtype}\" - this is not supported.`\n      )\n    }\n\n    if (column.type === FieldType.DATETIME) {\n      const oldColumn = oldTable?.schema[key] as typeof column\n\n      if (oldColumn && column.timeOnly !== oldColumn.timeOnly) {\n        throw new Error(\n          `Column \"${key}\" can not change from time to datetime or viceversa.`\n        )\n      }\n    }\n  }\n}\n\nfunction getDatasourceId(table: Table) {\n  if (!table) {\n    throw new Error(\"No table supplied\")\n  }\n  if (table.sourceId) {\n    return table.sourceId\n  }\n  if (!table._id) {\n    throw new Error(\"No table ID supplied\")\n  }\n  return breakExternalTableId(table._id).datasourceId\n}\n\nexport async function create(table: WithoutDocMetadata<Table>) {\n  const datasourceId = getDatasourceId(table)\n\n  const tableToCreate = { ...table, created: true }\n  try {\n    const result = await save(datasourceId!, tableToCreate)\n    return result.table\n  } catch (err: any) {","sourceCodeStart":78,"sourceCodeEnd":114,"githubUrl":"https://github.com/Budibase/budibase/blob/a81a902e9a8fe55b467d106765f6638f12e35c49/packages/server/src/sdk/workspace/tables/external/index.ts#L78-L114","documentation":"Error \"No table supplied\" thrown in Budibase/budibase.","triggerScenarios":"Thrown at packages/server/src/sdk/workspace/tables/external/index.ts:96 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"}