{"record":{"id":"a6b780f6e55f37c7","repo":"OtterMind/Chat2DB","slug":"project-this-owner-this-projectnumber-was-no","errorCode":null,"errorMessage":"Project ${this.owner}/${this.projectNumber} was not found.","messagePattern":"Project (.+?)/(.+?) was not found\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"script/github/sync-community-project.js","lineNumber":142,"sourceCode":"                }\n              }\n            }\n            items(first: 100, after: $cursor) {\n              nodes {\n                id\n                content {\n                  ... on Issue { id number state }\n                  ... on PullRequest { id number state isDraft merged }\n                }\n              }\n              pageInfo { hasNextPage endCursor }\n            }\n          }\n        }\n      }\n      `, { owner: this.owner, number: this.projectNumber, cursor });\n      const project = data.organization?.projectV2;\n      if (!project) throw new Error(`Project ${this.owner}/${this.projectNumber} was not found.`);\n      if (firstPage) {\n        this.projectId = project.id;\n        const statusField = project.fields.nodes.find((field) => field?.name === 'Status');\n        if (!statusField) throw new Error('Project Status field was not found.');\n        this.statusFieldId = statusField.id;\n        this.statusOptions = new Map(statusField.options.map((option) => [option.name, option.id]));\n        firstPage = false;\n      }\n      for (const item of project.items.nodes) {\n        if (item.content?.id) this.itemsByContentId.set(item.content.id, { ...item, content: item.content });\n      }\n      hasNextPage = project.items.pageInfo.hasNextPage;\n      cursor = project.items.pageInfo.endCursor;\n    } while (hasNextPage);\n  }\n\n  async ensureItem(content) {\n    const existing = this.itemsByContentId.get(content.id);","sourceCodeStart":124,"sourceCodeEnd":160,"githubUrl":"https://github.com/OtterMind/Chat2DB/blob/5ee1e990e73fbcae1969dc554be254fedb3ab888/script/github/sync-community-project.js#L124-L160","documentation":"Error \"Project ${this.owner}/${this.projectNumber} was not found.\" thrown in OtterMind/Chat2DB.","triggerScenarios":"The Projects V2 lookup for the configured owner/projectNumber returned null.","commonSituations":"See trigger scenarios.","solutions":["Verify the project owner and project number in the workflow configuration match an existing GitHub Projects V2 board.","Ensure the token's account or organization actually owns the project and the token can read it."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"5ee1e990e73fbcae1969dc554be254fedb3ab888","analyzedAt":"2026-08-14T07:05:03.077Z","schemaVersion":2},"datasetVersion":"2026-08-14T10:17:34.591Z"}