{"record":{"id":"c799af95478eb825","repo":"Budibase/budibase","slug":"unable-to-allocate-auto-column-values-for-table","errorCode":null,"errorMessage":"Unable to allocate auto column values for table ${table._id} after ${MAX_ALLOCATE_ATTEMPTS} attempts","messagePattern":"Unable to allocate auto column values for table (.+?) after (.+?) attempts","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/server/src/utilities/rowProcessor/autoColumnState.ts","lineNumber":150,"sourceCode":"      const next = current + 1\n      updatedState.columns[columnName] = next\n      allocations[columnName] = next\n    }\n\n    try {\n      const response = await db.put(updatedState)\n      updatedState._rev = response.rev\n      return allocations\n    } catch (err: any) {\n      if (isConflictError(err)) {\n        attempt++\n        continue\n      }\n      throw err\n    }\n  }\n\n  throw new Error(\n    `Unable to allocate auto column values for table ${table._id} after ${MAX_ALLOCATE_ATTEMPTS} attempts`\n  )\n}\n","sourceCodeStart":132,"sourceCodeEnd":154,"githubUrl":"https://github.com/Budibase/budibase/blob/a81a902e9a8fe55b467d106765f6638f12e35c49/packages/server/src/utilities/rowProcessor/autoColumnState.ts#L132-L154","documentation":"Error \"Unable to allocate auto column values for table ${table._id} after ${MAX_ALLOCATE_ATTEMPTS} attempts\" thrown in Budibase/budibase.","triggerScenarios":"Thrown at packages/server/src/utilities/rowProcessor/autoColumnState.ts:150 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"}