coleam00/Archon · error

Marketplace response contains invalid entries

Error message

Marketplace response contains invalid entries

What it means

Error "Marketplace response contains invalid entries" thrown in coleam00/Archon.

Source

Thrown at packages/cli/src/commands/workflow.ts:5010

    const err = error as Error;
    throw new Error(`Cannot reach marketplace at ${url}: ${err.message}`);
  }
  if (!res.ok) {
    throw new Error(`Marketplace fetch failed: HTTP ${String(res.status)} from ${url}`);
  }
  const raw: unknown = await res.json();
  if (!Array.isArray(raw)) {
    throw new Error('Unexpected marketplace response format (expected array)');
  }
  for (const item of raw) {
    if (
      typeof item !== 'object' ||
      item === null ||
      typeof (item as Record<string, unknown>).slug !== 'string' ||
      typeof (item as Record<string, unknown>).sourceUrl !== 'string' ||
      !Array.isArray((item as Record<string, unknown>).tags)
    ) {
      throw new Error('Marketplace response contains invalid entries');
    }
  }
  return raw as MarketplaceEntryJson[];
}

export async function workflowSearchCommand(query?: string, json?: boolean): Promise<void> {
  const entries = await fetchMarketplace();

  const results = query
    ? entries.filter(e => {
        const q = query.toLowerCase();
        return (
          e.name.toLowerCase().includes(q) ||
          e.author.toLowerCase().includes(q) ||
          e.description.toLowerCase().includes(q) ||
          e.tags.some(t => t.toLowerCase().includes(q))
        );
      })

View on GitHub (pinned to 0773b97458)

When it happens

Trigger: Thrown at packages/cli/src/commands/workflow.ts:5010 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/9a60ef3dc009e20d. Report an issue: GitHub.