coleam00/Archon · error
Cannot reach marketplace at ${url}: ${err.message}
Error message
Cannot reach marketplace at ${url}: ${err.message} What it means
Error "Cannot reach marketplace at ${url}: ${err.message}" thrown in coleam00/Archon.
Source
Thrown at packages/cli/src/commands/workflow.ts:4993
author: string;
description: string;
sourceUrl: string;
sha: string;
tags: string[];
archonVersionCompat: string;
featured?: boolean;
}
const DEFAULT_MARKETPLACE_URL = 'https://archon.diy/workflows.json';
async function fetchMarketplace(): Promise<MarketplaceEntryJson[]> {
const url = process.env.ARCHON_MARKETPLACE_URL ?? DEFAULT_MARKETPLACE_URL;
let res: Response;
try {
res = await fetch(url);
} catch (error) {
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');
}View on GitHub (pinned to 0773b97458)
When it happens
Trigger: Thrown at packages/cli/src/commands/workflow.ts:4993 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/1ac9ebcaaf8eb9bd.
Report an issue: GitHub.