Agents only read the file at https://{domain}/.well-known/poppy.json. A 404, a plain-HTTP URL or a redirect to HTTP all mean there is no document.
Fix: Serve the file at exactly /.well-known/poppy.json over HTTPS. Redirects are fine if every hop stays on HTTPS.
Usually an HTML error or login page served at the path, a trailing comma, or a top-level array.
Fix: Return one JSON object ({ … }) with Content-Type: application/json, and check it parses.
organization, auth (and its scopes and scope hints), agent, web and extensions are objects. Many servers encode an empty map as [], which typed agents reject.
Fix: Send {} for an empty object. In PHP, use (object) [] or JSON_FORCE_OBJECT for that member.
Agents read the version first to know which rules apply.
Fix: Add "protocol_version": "1.0", as a string, not the number 1.0.
The document speaks for the host that serves it, after any redirects. A scheme, a path, a different domain, or a missing or extra www. fails the match.
Fix: Use the host the file is finally served from: "domain": "www.yourcompany.com" if yourcompany.com redirects to www. Case is ignored; nothing else is.
A document with no agent, apis or web gives an agent nothing to use.
Fix: List at least one: your website (web), your APIs (apis), or a conversation such as your Company Agent (agent).
Each entry in apis points the agent at an OpenAPI description or an MCP server.
Fix: Give every API a type (openapi or mcp) and an HTTPS url.
Not an error, but the description is how an agent picks the right API for a task.
Fix: Add a short description, such as "Orders, returns and exchanges".
Plain names are reserved for extensions the protocol defines, such as operations.
Fix: Name your own extensions with a domain you control, for example yourcompany.com/loyalty.
Agents fetch the issuer's OAuth Authorization Server Metadata (RFC 8414) to find its endpoints.
Fix: Publish it at the RFC 8414 well-known path for your issuer: /.well-known/oauth-authorization-server on the issuer's host.
Agents must refuse the document unless the two match exactly, so even a trailing slash on one side fails.
Fix: Copy the issuer value from your metadata into auth.issuer, character for character.
Draft 0.3 removed both. Personal agents read the sign-in types from grant_types_supported in the issuer's OAuth metadata instead, so these fields are ignored.
Fix: Delete them, and list authorization_code (direct) or urn:ietf:params:oauth:grant-type:device_code (device) in grant_types_supported, with their scopes in scopes_supported.
PasteMediated Sign-In §2 (0.3)
Draft 0.3 moved Mediated Sign-In out of auth into an extension, so personal agents on 0.3 don't read auth.mediated.
Fix: Move it to "extensions": { "mediated-sign-in": { "version": "1", "fields": [ … ], "scopes": [ … ] } }, and list https://personalagentprotocol.org/grant/mediated-sign-in in your issuer's grant_types_supported.
Each entry in auth.scope_hints must include both fields, so an agent can tell how consequential the scope is before requesting it.
Fix: Give each entry "changes" (none, reversible or irreversible) and "personal_data" (true or false), for the most consequential action that needs the scope.
Each scope you offer personal agents should be described, so the agent can choose the scopes a task needs.
Fix: Describe it in the OAuth security scheme of an OpenAPI description you list, or in auth.scopes: "auth": { "scopes": { "orders:read": "See your orders" } }.
protected_resources replaces poppy_domains. Agents compare the entry exactly, ignoring case only in the host, so a trailing slash or a path doesn't match.
Fix: Add "protected_resources": ["https://yourcompany.com"] to your OAuth server metadata, one entry for every domain whose poppy.json names the issuer.
It is required, and must include refresh_token, since every sign-in returns a refresh token. It also says which sign-in types you offer.
Fix: Publish "grant_types_supported": ["refresh_token"], plus authorization_code and urn:ietf:params:oauth:grant-type:device_code for the sign-in types you offer.
A company that offers sign-in should list every scope a personal agent can request there, including the scopes Mediated Sign-In can grant.
Fix: Add "scopes_supported": ["orders:read", "orders:write"] to your OAuth server metadata.
A redirect may move to another host, but agents use the document only when the last URL's path is exactly /.well-known/poppy.json, with no query.
Fix: Redirect to https://{host}/.well-known/poppy.json and serve the file there.
Personal agents find the issuer from the protected resource metadata at https://{domain}/.well-known/oauth-protected-resource. Its resource must be exactly https://{domain}, and auth.issuer, if present, must be one of its authorization_servers.
Fix: Publish { "resource": "https://yourcompany.com", "authorization_servers": ["https://auth.yourcompany.com"] } there. With several authorization servers, name the one personal agents use in auth.issuer.
A company that sets auth.disabled offers personal agents no sign-in, so it must not list the Mediated Sign-In extension or signed_in access.
Fix: Remove mediated-sign-in and any "access": "signed_in", or remove auth.disabled once sign-in is ready.
An openapi or mcp reference must name an API your poppy.json lists, or agents ignore it; a web reference must be an HTTPS URL.
Fix: Use the exact url of an entry in apis, with an operation_id or tool, or an HTTPS page for a web reference.
Each skill_index entry declares the sha256 of the file's raw bytes. Personal agents verify it before using a skill, so a skill edited after the index was written goes unused.
Fix: Recompute the digest from the file as served (sha256sum SKILL.md) and update the entry's digest as sha256: plus 64 lowercase hex characters.
Sessions need an OAuth issuer, so auth is required whenever the document lists agent, apis or a browser session endpoint.
Fix: Add "auth": { "issuer": "https://auth.yourcompany.com", "direct": { "scopes": ["poppy:read"] } }.
The issuer is where agents find your sign-in server and its metadata.
Fix: Set auth.issuer to your OAuth issuer as an HTTPS URL, written exactly as the server publishes it.
poppy:read and poppy:write belong to the protocol; custom scopes can't use that prefix.
Fix: Rename the scope (for example addresses) and describe it in auth.custom_scopes.
The issuer has to confirm each domain that names it. Without that, any domain could claim your sign-in server, so agents must not use the document.
Fix: Add "poppy_domains": ["yourcompany.com"] to your OAuth server metadata, listing every domain whose poppy.json names this issuer.
Every company must accept DPoP proofs signed with ES256, so every agent has one algorithm it can rely on. Publishing the list is optional, but a published list must include ES256 (a fail from draft 0.2, a warning on 0.1).
Fix: Add ES256 to dpop_signing_alg_values_supported in your OAuth server metadata, or leave the field out if your issuer also serves OAuth clients that use Bearer tokens.