{
  "id": "ku_eb0898b1e1b780fe130aac76c01dfc45",
  "version": 1,
  "domains": [
    "x402",
    "bazaar",
    "schema",
    "seller"
  ],
  "insight": {
    "summary": "Your 402 lists more than 5 resource.tags. A strict payment schema rejects the whole object, so the client never reads the price.",
    "detail": "The bazaar extension and ResourceInfoSchema cap resource.tags at 5 strings. Each string must be non-empty printable ASCII (U+0020 to U+007E) and at most 32 characters. Unpaid GETs on 2026-12-02 returned HTTP 402 with longer arrays: https://websearch.use.x402atlas.com/search had 15 tags, https://coingecko.use.x402atlas.com/price had 8 (including the tag coingecko), and https://edgar.apitoll.cloud/v1/edgar/filings had 9. Trim the array before you base64-encode it into PAYMENT-REQUIRED. Leave scheme, network, amount, asset, payTo, and maxTimeoutSeconds as they are.",
    "action": "Trim resource.tags to at most 5 printable ASCII items, each at most 32 characters.\n1. Decode PAYMENT-REQUIRED and count resource.tags on every paid route.\n2. Keep at most 5 tags. Drop empty, non-ASCII, overlong, and case-insensitive duplicates.\n3. Re-encode the header and confirm the array length is 5 or fewer."
  },
  "context": {
    "languages": [
      "json",
      "shell"
    ],
    "pattern": "payment-discovery"
  },
  "evidence": {
    "confidence": 0.9,
    "confirmations": 1,
    "first_observed": "2026-12-02T00:00:00Z",
    "last_confirmed": "2026-12-02T00:00:00Z"
  },
  "tier": "public",
  "created_by": "neomorphic:house",
  "flags": [],
  "extensions": {
    "neomorphic:title": "Bazaar resource.tags over 5 makes the payment schema reject the 402",
    "neomorphic:signature": {
      "surface": "bazaar",
      "provider": "x402",
      "code": "resource-tags-over-5",
      "http": 402,
      "versions": "ResourceInfoSchema tags max 5",
      "environment": "live unpaid GET of 402 discovery payloads",
      "key": "bazaar/x402/resource-tags-over-5"
    },
    "neomorphic:status": "fixed",
    "neomorphic:fix": {
      "summary": "Trim resource.tags to at most 5 printable ASCII items, each at most 32 characters.",
      "steps": [
        "Decode PAYMENT-REQUIRED and count resource.tags on every paid route.",
        "Keep at most 5 tags. Drop empty, non-ASCII, overlong, and case-insensitive duplicates.",
        "Re-encode the header and confirm the array length is 5 or fewer."
      ],
      "snippet": {
        "lang": "json",
        "text": "{\n  \"resource\": {\n    \"tags\": [\"price\", \"crypto\", \"token\", \"usd\", \"market-data\"]\n  }\n}"
      }
    },
    "neomorphic:sources": [
      {
        "kind": "observation",
        "url": "https://websearch.use.x402atlas.com/search",
        "observed_at": "2026-12-02",
        "note": "Unpaid GET on 2026-12-02 returned HTTP 402, x402Version 2, resource.tags length 15, four accepts with amount 10000. No payment was sent."
      },
      {
        "kind": "observation",
        "url": "https://coingecko.use.x402atlas.com/price",
        "observed_at": "2026-12-02",
        "note": "Unpaid GET on 2026-12-02 returned HTTP 402, x402Version 2, resource.tags length 8 (price, crypto, token, usd, market-data, real-time, coingecko, spot), four accepts with amount 5000."
      },
      {
        "kind": "observation",
        "url": "https://edgar.apitoll.cloud/v1/edgar/filings",
        "observed_at": "2026-12-02",
        "note": "Unpaid GET on 2026-12-02 returned HTTP 402, x402Version 2, resource.tags length 9, two accepts with amount 3000."
      },
      {
        "kind": "doc",
        "url": "https://github.com/x402-foundation/x402/blob/main/specs/extensions/bazaar.md",
        "observed_at": "2026-12-02",
        "note": "Bazaar tags row, read 2026-12-02: at most 5 entries, each non-empty printable ASCII, length at most 32 characters."
      },
      {
        "kind": "doc",
        "url": "https://github.com/x402-foundation/x402/blob/main/typescript/packages/core/src/schemas/index.ts",
        "observed_at": "2026-12-02",
        "note": "ResourceInfoSchema tags is z.array(...).max(5), each string min 1, max 32, printable ASCII. Read from the main branch on 2026-12-02."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/epistemedeus/x402-data-gateway-skills/pull/35",
        "observed_at": "2026-12-02",
        "note": "First draft of this failure, from unpaid 402 probes. Rechecked on the three URLs above before this record was published."
      },
      {
        "kind": "pull-request",
        "url": "https://github.com/epistemedeus/x402-data-gateway-skills/pull/37",
        "observed_at": "2026-12-02",
        "note": "Unpaid x402-cors-and-tags-check 0.1.0 on 2026-12-02 reported tags_over_cap for those three URLs (15, 8, and 9 entries) and attached this record."
      }
    ],
    "neomorphic:author": {
      "kind": "house",
      "name": "Neomorphic"
    },
    "neomorphic:escalation": "seller",
    "neomorphic:observed_at": "2026-12-02",
    "neomorphic:updated_at": "2026-12-02",
    "neomorphic:stale_after": "2027-06-01"
  }
}
