UCP Profile Validation: Common Errors & Fixes
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, anducp.payment_handlers, the last two present even when empty. - A capability's
schemahost must match its reverse-domain name:dev.ucp.*schemas onucp.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: publicandmax-ageof at least 60. - Signing keys go in a top-level
keys[]JWK Set, not insideucp. - 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.
| Check | What it proves | Who can perform it |
|---|---|---|
| 1. Schema-level validity | The JSON has the required members, correct types, and well-formed versions and URLs | Anyone, including our UCP profile validator |
| 2. Reachability and hosting | The profile and its referenced spec/schema URLs resolve over HTTPS, without redirects, with correct caching | Anyone with network access |
| 3. Production acceptance | A platform has tested your endpoints and enabled your account | Only 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.
{
"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"
}
]
}
}
}{
"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.
| Invalid | Problem | Fix |
|---|---|---|
"version": "2026-8-25" | Not zero-padded YYYY-MM-DD | "2026-08-25" |
"version": "v1" or "1.0" | Semantic version instead of a date | Use 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 disagree | Keep each entry's version, spec, and schema on the same release |
Profile declares 2026-01-23 with an mcp service for Google | Google's MCP guide says 2026-01-23 profiles support only REST and embedded transports | Declare 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 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.
| Symptom | Cause | Fix |
|---|---|---|
| Fetch fails, browser works | 301 from /.well-known/ucp to /.well-known/ucp/ or to www. | Serve 200 directly at the exact URL you register |
| Intermittent 403 | WAF or bot protection challenging the platform's fetcher | Allow the platform's documented traffic; see AI agents blocked by Cloudflare or a WAF |
| 401 | Profile behind login or basic auth on staging | Profiles must be public; protect the endpoints, not the profile |
| Rejected caching | Cache-Control: no-store or private | Cache-Control: public, max-age=300 plus an ETag |
| Referenced schema 404 | schema URL typed wrong or file not deployed | Request every spec and schema URL in CI |
| Very large profile | Inlined schemas or documentation | Reference schemas by URL; fetchers should accept at least 128 KiB, so stay well below |
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>=60What 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.
| Mistake | Why it fails | Fix |
|---|---|---|
ucp.signing_keys: [...] | 2026-08-25 expects signing keys in a top-level keys[] JWK Set | Move keys to top-level keys |
kty: "RSA" signing key | The spec defines EC (P-256, P-384) and OKP (Ed25519); verifiers skip unrecognized key types | Publish an EC or Ed25519 key |
transport: "http" | Allowed values are rest, mcp, a2a, embedded | Use rest |
endpoint: "http://shop.example.com/ucp/v1/" | Endpoint must be HTTPS and should not have a trailing slash | https://shop.example.com/ucp/v1 |
| Capability entry is an object, not an array | Each registry value is an array of versioned entries | Wrap it: [ { ... } ] |
dev.ucp.shopping.fulfillment declared without checkout | Extensions whose parent capability is absent are pruned during negotiation | Declare dev.ucp.shopping.checkout too |
Capability lacks schema | A capability must declare a schema | Add the schema URL for that version |
{
"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"
}
]
}
}{
"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.
| Code | REST | MCP | Typical cause |
|---|---|---|---|
invalid_profile_url | 400 | -32001 | The UCP-Agent profile URL is malformed or not HTTPS |
profile_unreachable | 424 | -32001 | The profile could not be fetched (DNS, TLS, timeout, redirect) |
profile_malformed | 422 | -32001 | The profile fetched but failed parsing or validation |
version_unsupported | 422 | -32001 | No mutually supported protocol version |
capabilities_incompatible | 200 | result | Profiles 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
mcpentry placed afterrestwill 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
mcpentry 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.
Related
Sources
- UCP specification overview (2026-08-25)
- UCP versioning
- Google UCP FAQ
- Google: How to start UCP integration in Merchant Center
- Google: UCP MCP transport (Beta)
- 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.