{"record":{"id":"d99d16ddcaf602fa","repo":"Budibase/budibase","slug":"project-projectid-not-found-d99d16","errorCode":null,"errorMessage":"Project '${projectId}' not found.","messagePattern":"Project '(.+?)' not found\\.","errorType":"http","errorClass":"HTTPError","httpStatus":404,"severity":"error","filePath":"packages/server/src/utilities/projects.ts","lineNumber":53,"sourceCode":"  const validated = validateProjectIds(projectIds)\n  if (!validated?.length) {\n    return undefined\n  }\n\n  const ids = dedupeProjectIds(validated)\n  if (!ids?.length) {\n    return undefined\n  }\n\n  if (!(await features.isEnabled(FeatureFlag.PROJECTS))) {\n    throw new HTTPError(\"Projects feature is not enabled.\", 404)\n  }\n\n  await Promise.all(\n    ids.map(async projectId => {\n      const project = await sdk.projects.get(projectId)\n      if (!project) {\n        throw new HTTPError(`Project '${projectId}' not found.`, 404)\n      }\n    })\n  )\n\n  return ids\n}\n\nexport const resolveUpdatedProjectIds = async (\n  projectIds: string[] | null | undefined,\n  currentProjectIds?: string[]\n) => {\n  if (projectIds === undefined) {\n    return currentProjectIds\n  }\n\n  return await resolveProjectIds(projectIds)\n}\n","sourceCodeStart":35,"sourceCodeEnd":71,"githubUrl":"https://github.com/Budibase/budibase/blob/a81a902e9a8fe55b467d106765f6638f12e35c49/packages/server/src/utilities/projects.ts#L35-L71","documentation":"Error \"Project '${projectId}' not found.\" thrown in Budibase/budibase.","triggerScenarios":"Thrown at packages/server/src/utilities/projects.ts:53 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"}