Troubleshooting

UCP Profile Validation: Common Errors & Fixes

By Michael E.Updated Sources checked 13 min

Short answer

A Universal Commerce Protocol (UCP) business profile at /.well-known/ucp usually fails for one of six reasons: a missing required member, a malformed version date, a schema URL on a host that does not match the capability's namespace, an unreachable reference, a redirect or non-cacheable response, or misplaced signing keys. A valid profile proves only that the document is well formed, not that checkout is approved.

Key takeaways

  • Required members in UCP 2026-08-25: ucp.version, ucp.services, and ucp.payment_handlers, the last two present even when empty.
  • A capability's schema host must match its reverse-domain name: dev.ucp.* schemas on ucp.dev, your own capabilities on your domain. Platforms must reject a mismatch.
  • Profiles must be served over HTTPS with no redirects and with Cache-Control: public and max-age of at least 60.
  • Signing keys go in a top-level keys[] JWK Set, not inside ucp.
  • Schema validity, reachability, and production acceptance are three separate checks. Google's Merchant Center onboarding is the last one, and only Google passes it.

Does a valid discovery profile mean checkout is approved?

No. There are three different checks, and passing one says nothing about the next. Most confusion comes from treating a green validator result as production readiness.

CheckWhat it provesWho can perform it
1. Schema-level validityThe JSON has the required members, correct types, and well-formed versions and URLsAnyone, including our UCP profile validator
2. Reachability and hostingThe profile and its referenced spec/schema URLs resolve over HTTPS, without redirects, with correct cachingAnyone with network access
3. Production acceptanceA platform has tested your endpoints and enabled your accountOnly the platform (for Google: sandbox testing, production validation, and Google Support review)

Why is my UCP profile invalid?

The most common cause is a missing required member. In UCP 2026-08-25, ucp.version, ucp.services, and ucp.payment_handlers are required, and the spec says the services and payment_handlers registries must be present even when empty. ucp.capabilities is optional.

Invalid (synthetic): payment_handlers omitted because the store has none yet
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        {
          "version": "2026-08-25",
          "spec": "https://ucp.dev/2026-08-25/specification/overview/",
          "transport": "rest",
          "endpoint": "https://shop.example.com/ucp/v1",
          "schema": "https://ucp.dev/2026-08-25/services/shopping/rest.openapi.json"
        }
      ]
    }
  }
}
Fixed: the registry is present, even if empty
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        {
          "version": "2026-08-25",
          "spec": "https://ucp.dev/2026-08-25/specification/overview/",
          "transport": "rest",
          "endpoint": "https://shop.example.com/ucp/v1",
          "schema": "https://ucp.dev/2026-08-25/services/shopping/rest.openapi.json"
        }
      ]
    },
    "payment_handlers": {}
  }
}

An empty payment_handlers is schema-valid, but it will not get you through native checkout on Google, which needs a Google Pay handler configuration. That is the gap between check 1 and check 3.

What does version_unsupported mean in UCP?

It means the two sides share no usable protocol version. UCP versions are dates in YYYY-MM-DD format. During negotiation the business picks, per capability, the highest version both profiles support, and drops capabilities with no common version. A version mismatch returns the version_unsupported error (HTTP 422 over REST, JSON-RPC -32001 over MCP), with a continue_url for fallback.

Version mistakes and fixes (synthetic)
InvalidProblemFix
"version": "2026-8-25"Not zero-padded YYYY-MM-DD"2026-08-25"
"version": "v1" or "1.0"Semantic version instead of a dateUse the release date of the spec you implement
ucp.version 2026-08-25, capability version 2026-01-23, spec URL under /2026-08-25/Version and documentation URLs disagreeKeep each entry's version, spec, and schema on the same release
Profile declares 2026-01-23 with an mcp service for GoogleGoogle's MCP guide says 2026-01-23 profiles support only REST and embedded transportsDeclare 2026-04-08 or later for MCP

Which version is "right" depends on the platform. On 2026-11-29 ucp.dev documented 2026-08-25, while Google's Native Checkout guides referenced 2026-01-23 and 2026-04-08 profiles. Declaring a newer version than your counterparty supports is not an error in itself, but capabilities with no common version will drop out.

Why is my capability rejected even though the JSON is valid?

Usually because of schema authority binding. UCP 2026-08-25 binds a capability's schema URL host to its reverse-domain name. The host's reversed labels must equal the name or be a label-aligned prefix of it. If the binding fails, the spec says a platform must not fetch the schema and must reject the entity.

Capability nameSchema hostResult
dev.ucp.shopping.checkoutucp.devValid
dev.ucp.shopping.checkoutshopping.ucp.devValid (label-aligned prefix)
dev.ucp.shopping.checkoutcdn.example.com (self-hosted copy)Rejected
com.example.giftwrapexample.comValid
com.example.giftwrapassets.examplecdn.netRejected
dev.ucp.giftwrap (your own capability)anyInvalid: dev.ucp.* is reserved for the UCP governing body
Invalid (synthetic): a custom capability squatting the reserved namespace and pointing at a CDN
{
  "dev.ucp.shopping.giftwrap": [
    {
      "version": "2026-08-25",
      "spec": "https://shop.example.com/docs/giftwrap",
      "schema": "https://cdn.examplecdn.net/giftwrap.json",
      "extends": "dev.ucp.shopping.checkout"
    }
  ]
}
Fixed: vendor namespace, schema on the matching domain
{
  "com.example.giftwrap": [
    {
      "version": "2026-08-25",
      "spec": "https://shop.example.com/docs/giftwrap",
      "schema": "https://example.com/ucp/schemas/giftwrap.json",
      "extends": "dev.ucp.shopping.checkout"
    }
  ]
}

spec URLs are different: they must use HTTPS but may live on any host, because they are documentation rather than machine-validated schemas. The binding proves provenance only, not that the schema is trustworthy.

Why does my /.well-known/ucp endpoint fail when the JSON is fine?

Because hosting rules are part of validity. The UCP overview says published artifacts must be served over HTTPS, profile endpoints must not redirect, fetchers must not follow redirects, and responses must be publicly cacheable. Google's UCP settings also say the profile URI must be public and require no authentication.

Hosting failures and fixes
SymptomCauseFix
Fetch fails, browser works301 from /.well-known/ucp to /.well-known/ucp/ or to www.Serve 200 directly at the exact URL you register
Intermittent 403WAF or bot protection challenging the platform's fetcherAllow the platform's documented traffic; see AI agents blocked by Cloudflare or a WAF
401Profile behind login or basic auth on stagingProfiles must be public; protect the endpoints, not the profile
Rejected cachingCache-Control: no-store or privateCache-Control: public, max-age=300 plus an ETag
Referenced schema 404schema URL typed wrong or file not deployedRequest every spec and schema URL in CI
Very large profileInlined schemas or documentationReference schemas by URL; fetchers should accept at least 128 KiB, so stay well below
Quick reachability check (replace the host)
curl -sS -D - -o /dev/null --max-redirs 0 https://shop.example.com/.well-known/ucp
# Expect: HTTP/2 200, no Location header, Cache-Control: public, max-age>=60

What other schema-level mistakes break UCP profiles?

Several mistakes come from older drafts or from copying another platform's format. Each fixture below is synthetic.

MistakeWhy it failsFix
ucp.signing_keys: [...]2026-08-25 expects signing keys in a top-level keys[] JWK SetMove keys to top-level keys
kty: "RSA" signing keyThe spec defines EC (P-256, P-384) and OKP (Ed25519); verifiers skip unrecognized key typesPublish an EC or Ed25519 key
transport: "http"Allowed values are rest, mcp, a2a, embeddedUse rest
endpoint: "http://shop.example.com/ucp/v1/"Endpoint must be HTTPS and should not have a trailing slashhttps://shop.example.com/ucp/v1
Capability entry is an object, not an arrayEach registry value is an array of versioned entriesWrap it: [ { ... } ]
dev.ucp.shopping.fulfillment declared without checkoutExtensions whose parent capability is absent are pruned during negotiationDeclare dev.ucp.shopping.checkout too
Capability lacks schemaA capability must declare a schemaAdd the schema URL for that version
Invalid (synthetic): keys inside ucp, RSA key type, http endpoint
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        {
          "version": "2026-08-25",
          "transport": "http",
          "endpoint": "http://shop.example.com/ucp/v1/"
        }
      ]
    },
    "payment_handlers": {},
    "signing_keys": [
      {
        "kid": "k1",
        "kty": "RSA",
        "n": "...",
        "e": "AQAB"
      }
    ]
  }
}
Fixed
{
  "ucp": {
    "version": "2026-08-25",
    "services": {
      "dev.ucp.shopping": [
        {
          "version": "2026-08-25",
          "spec": "https://ucp.dev/2026-08-25/specification/overview/",
          "transport": "rest",
          "endpoint": "https://shop.example.com/ucp/v1",
          "schema": "https://ucp.dev/2026-08-25/services/shopping/rest.openapi.json"
        }
      ]
    },
    "payment_handlers": {}
  },
  "keys": [
    {
      "kid": "synthetic-key-1",
      "kty": "EC",
      "crv": "P-256",
      "x": "...",
      "y": "...",
      "use": "sig",
      "alg": "ES256"
    }
  ]
}

Which UCP error codes point to a profile problem?

The UCP overview defines negotiation errors that a business returns when it cannot use the platform's profile. Seeing them in your logs, or receiving them as a platform, usually means a profile or hosting fault rather than a checkout bug.

Negotiation error codes (UCP 2026-08-25)
CodeRESTMCPTypical cause
invalid_profile_url400-32001The UCP-Agent profile URL is malformed or not HTTPS
profile_unreachable424-32001The profile could not be fetched (DNS, TLS, timeout, redirect)
profile_malformed422-32001The profile fetched but failed parsing or validation
version_unsupported422-32001No mutually supported protocol version
capabilities_incompatible200resultProfiles valid, but no capability overlap

Signature failures (signature_missing, signature_invalid, key_not_found) often follow a key rotation. Google notes it does not automatically refresh your profile, so after changing keys you need to contact Google Support.

Which errors are specific to Google Merchant Center?

Some failures are valid UCP but fail Google's onboarding rules. These come from Google's Merchant Center and MCP transport guides, checked 2026-11-29.

  • Capability mismatch. Google says the capabilities in your profile must exactly match the ones you select in Merchant Center.
  • MCP entry order. Google uses the first RPC transport listed, so an mcp entry placed after rest will not be used.
  • MCP endpoint host. The MCP endpoint must be HTTPS, with no userinfo, query, fragment, backslashes, or dot segments, and on the same registrable domain as your profile or Merchant Center domain.
  • MCP not enabled. Publishing an mcp entry does not activate MCP; Google enables it after testing, in early access.
  • Stale profile. Edits are not picked up automatically.

If you want someone to fix the profile and the integration behind it, our UCP integration service starts with an eligibility check. For background on UCP itself, see the Universal Commerce Protocol guide.

Frequently asked questions

Where does the UCP profile have to live?

Businesses publish their profile at /.well-known/ucp on their domain, according to the UCP 2026-08-25 overview. Platforms publish theirs at a URL they send in the UCP-Agent header on each request.

Can I serve the profile from a CDN?

Yes, as long as the URL itself returns 200 over HTTPS without redirects and with public caching headers. What you cannot do is host dev.ucp.* schemas on your own CDN host, because schema URLs must match the capability's namespace.

Is an empty payment_handlers object allowed?

It is schema-valid in UCP 2026-08-25, which requires the registry to exist even when empty. It will not support native checkout on Google, which requires a Google Pay handler configuration.

Do unknown fields make my profile invalid?

No. The spec says unrecognized members inside a ucp object must be ignored. Unknown capabilities simply do not enter the negotiated intersection.

Does your validator certify my profile?

No. Our validator checks structure and some hosting rules against a pinned UCP version. It is not a conformance certification, and it cannot predict platform approval.

Why did my fulfillment capability disappear?

Extensions are pruned when their parent capability is missing from the negotiated set. If checkout drops out (for example, because of no common version), extensions such as fulfillment that extend it drop out too.

How often should I re-validate?

On every deploy that touches the profile, keys, or endpoints, and whenever you move to a new UCP version. Add a CI step that fetches the profile and every referenced URL.

Check your profile

Paste your /.well-known/ucp JSON into the validator to find structural errors before you start Merchant Center testing.

Sources

  1. UCP specification overview (2026-08-25)
  2. UCP versioning
  3. Google UCP FAQ
  4. Google: How to start UCP integration in Merchant Center
  5. Google: UCP MCP transport (Beta)
  6. Google UCP latest updates

Platform capabilities, eligibility, and specifications change. Sources were checked on 2026-11-29; confirm the current primary documentation before scoping an implementation. See our editorial policy and methodology.