coleam00/Archon · error

GitLab API ${method} ${path}: ${String(response.status)} ${r

Error message

GitLab API ${method} ${path}: ${String(response.status)} ${response.statusText} - ${text}

What it means

Error "GitLab API ${method} ${path}: ${String(response.status)} ${response.statusText} - ${text}" thrown in coleam00/Archon.

Source

Thrown at packages/adapters/src/community/forge/gitlab/adapter.ts:175

  }

  // ---------------------------------------------------------------------------
  // GitLab REST API helper
  // ---------------------------------------------------------------------------

  private async gitlabApi<T>(method: string, path: string, body?: unknown): Promise<T> {
    const url = `${this.gitlabUrl}/api/v4${path}`;
    const response = await fetch(url, {
      method,
      headers: {
        'PRIVATE-TOKEN': this.token,
        'Content-Type': 'application/json',
      },
      body: body ? JSON.stringify(body) : undefined,
    });
    if (!response.ok) {
      const text = await response.text();
      throw new Error(
        `GitLab API ${method} ${path}: ${String(response.status)} ${response.statusText} - ${text}`
      );
    }
    return response.json() as Promise<T>;
  }

  // ---------------------------------------------------------------------------
  // Comment posting with retry
  // ---------------------------------------------------------------------------

  private isRetryableError(error: unknown): boolean {
    const err = error as Error | undefined;
    const message = err?.message ?? '';
    const causeErr = (error as { cause?: Error }).cause;
    const cause = causeErr?.message ?? '';
    const combined = `${message} ${cause}`.toLowerCase();

    return (

View on GitHub (pinned to 0773b97458)

When it happens

Trigger: Thrown at packages/adapters/src/community/forge/gitlab/adapter.ts:175 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coleam00/Archon@0773b97458 (2026-09-01). Data as JSON: /api/errors/4c78c29b12d21b8c. Report an issue: GitHub.