OtterMind/Chat2DB · error · Error

Project ${this.owner}/${this.projectNumber} was not found.

Error message

Project ${this.owner}/${this.projectNumber} was not found.

What it means

Error "Project ${this.owner}/${this.projectNumber} was not found." thrown in OtterMind/Chat2DB.

Source

Thrown at script/github/sync-community-project.js:142

                }
              }
            }
            items(first: 100, after: $cursor) {
              nodes {
                id
                content {
                  ... on Issue { id number state }
                  ... on PullRequest { id number state isDraft merged }
                }
              }
              pageInfo { hasNextPage endCursor }
            }
          }
        }
      }
      `, { owner: this.owner, number: this.projectNumber, cursor });
      const project = data.organization?.projectV2;
      if (!project) throw new Error(`Project ${this.owner}/${this.projectNumber} was not found.`);
      if (firstPage) {
        this.projectId = project.id;
        const statusField = project.fields.nodes.find((field) => field?.name === 'Status');
        if (!statusField) throw new Error('Project Status field was not found.');
        this.statusFieldId = statusField.id;
        this.statusOptions = new Map(statusField.options.map((option) => [option.name, option.id]));
        firstPage = false;
      }
      for (const item of project.items.nodes) {
        if (item.content?.id) this.itemsByContentId.set(item.content.id, { ...item, content: item.content });
      }
      hasNextPage = project.items.pageInfo.hasNextPage;
      cursor = project.items.pageInfo.endCursor;
    } while (hasNextPage);
  }

  async ensureItem(content) {
    const existing = this.itemsByContentId.get(content.id);

View on GitHub (pinned to 5ee1e990e7)

Solutions

  1. Verify the project owner and project number in the workflow configuration match an existing GitHub Projects V2 board.
  2. Ensure the token's account or organization actually owns the project and the token can read it.

When it happens

Trigger: The Projects V2 lookup for the configured owner/projectNumber returned null.

Common situations: See trigger scenarios.


AI-assisted analysis of OtterMind/Chat2DB@5ee1e990e7 (2026-08-14). Data as JSON: /api/errors/a6b780f6e55f37c7. Report an issue: GitHub.