diegosouzapw/OmniRoute · error · WebFetchExecutionError

Missing required field: url

Error message

Missing required field: url

What it means

Error "Missing required field: url" thrown in diegosouzapw/OmniRoute.

Source

Thrown at src/lib/skills/webFetchExecution.ts:140

    // Anonymous tier: no connection configured (or the credential resolution
    // came back rate-limited — the anonymous tier does not consume key quota,
    // so a rate-limited key must not block the anonymous attempt either).
    return { provider: pinnedProvider, credentials: {} };
  }

  const auto = await autoSelectProvider();
  if (!auto) {
    throw new WebFetchExecutionError(
      `No credentials configured for any web-fetch provider. Add an API key for one of: ${WEB_FETCH_PROVIDERS.join(", ")}.`,
      400
    );
  }
  return auto;
}

export async function executeWebFetch(input: ExecuteWebFetchInput): Promise<WebFetchResponse> {
  if (!input.url || typeof input.url !== "string") {
    throw new WebFetchExecutionError("Missing required field: url", 400);
  }

  const { provider, credentials } = await resolveProviderAndCredentials(input);

  const result = await handleWebFetch(
    {
      url: input.url,
      format: input.format,
      depth: input.depth,
      wait_for_selector: input.wait_for_selector,
      include_metadata: input.include_metadata,
    },
    credentials,
    provider
  );

  if (!result.success || !result.data) {
    throw new WebFetchExecutionError(result.error || "Web fetch failed", result.status || 502);

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/skills/webFetchExecution.ts:140 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of diegosouzapw/OmniRoute@a179ffed5b (2026-08-25). Data as JSON: /api/errors/da30549b5204ac82. Report an issue: GitHub.