{"record":{"id":"d94832fd2ddacfda","repo":"paperclipai/paperclip","slug":"sandbox-cr-created-without-a-uid","errorCode":null,"errorMessage":"Sandbox CR created without a UID","messagePattern":"Sandbox CR created without a UID","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts","lineNumber":110,"sourceCode":"        failed: 0,\n      };\n  }\n}\n\nexport async function createSandboxCr(\n  clients: KubeClients,\n  namespace: string,\n  manifest: Record<string, unknown>,\n): Promise<{ uid: string }> {\n  const result = await clients.custom.createNamespacedCustomObject({\n    group: SANDBOX_GROUP,\n    version: SANDBOX_VERSION,\n    namespace,\n    plural: SANDBOX_PLURAL,\n    body: manifest,\n  });\n  const uid = (result as { metadata?: { uid?: string } }).metadata?.uid;\n  if (!uid) throw new Error(\"Sandbox CR created without a UID\");\n  return { uid };\n}\n\nexport async function getSandboxCrStatus(\n  clients: KubeClients,\n  namespace: string,\n  name: string,\n): Promise<SandboxStatus> {\n  const result = await clients.custom.getNamespacedCustomObject({\n    group: SANDBOX_GROUP,\n    version: SANDBOX_VERSION,\n    namespace,\n    plural: SANDBOX_PLURAL,\n    name,\n  });\n  return mapSandboxPhase(result as Record<string, unknown>);\n}\n","sourceCodeStart":92,"sourceCodeEnd":128,"githubUrl":"https://github.com/paperclipai/paperclip/blob/120ae5428fa29bee300bcf806491cd4d965fbb7c/packages/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts#L92-L128","documentation":"Error \"Sandbox CR created without a UID\" thrown in paperclipai/paperclip.","triggerScenarios":"Thrown at packages/plugins/sandbox-providers/kubernetes/src/sandbox-cr-orchestrator.ts:110 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry Sandbox CR creation; check the API server and admission webhooks."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"120ae5428fa29bee300bcf806491cd4d965fbb7c","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}