diegosouzapw/OmniRoute · error

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/builtins.ts:275

  http_request: async (input, context) => {
    const {
      url,
      method = "GET",
      headers: rawHeaders,
      body,
      timeoutMs,
      maxBytes,
    } = input as {
      url: string;
      method?: string;
      headers?: Record<string, unknown>;
      body?: unknown;
      timeoutMs?: number;
      maxBytes?: number;
    };
    if (!url || typeof url !== "string") {
      throw new Error("Missing required field: url");
    }

    const normalizedMethod = method.toUpperCase();
    if (!ALLOWED_HTTP_METHODS.has(normalizedMethod)) {
      throw new Error(`Unsupported HTTP method: ${method}`);
    }

    const headers = sanitizeHeaders(rawHeaders);
    const response = await safeOutboundFetch(url, {
      method: normalizedMethod,
      headers,
      body:
        normalizedMethod === "GET" || normalizedMethod === "HEAD"
          ? undefined
          : normalizeBody(body, headers),
      timeoutMs: normalizePositiveInteger(timeoutMs, 10_000, 60_000),
      allowRedirect: false,
      retry: false,

View on GitHub (pinned to a179ffed5b)

When it happens

Trigger: Thrown at src/lib/skills/builtins.ts:275 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/58954d8f93121fff. Report an issue: GitHub.