Publishing unchanged PDF template content
The revision endpoint and its MCP tool identify content that already matches the published PDF template.
27 November 2026 — When a new publication request contains the same content as the current PDF template revision, the API returns HTTP 422 with code=invalid_pdf_template_configuration, param=changes and subcode=pdf_template_no_changes. For example, sending the same columns with the keys of each object in a different order leaves the current revision, its number and the template version intact.
What to check in your integration
The REST operation public-api.v1.pdf_templates.publish_revision and the MCP tool publish_pdf_template_revision share this response.
Handle this subcode by reading the current template. A new publication requires a change in content. An empty patch or an unrecognized key still produces a validation error without this subcode.
Updated endpoints1
| Endpoint | Description |
|---|---|
POST/v1/companies/{company}/pdf-templates/{template}/revisions | Publish a PDF template revision |