Diagnostics

Every finding has a stable code, severity, message, optional route path, and source document. Use the code in docs, filters, and CI scripts.

Codes

CodeSeverityGroupMeaning
CMS-ROUTE-404errorroutesExpected route returned 404.
CMS-ROUTE-500errorroutesExpected route returned a 5xx response.
CMS-ROUTE-ERRORerrorroutesRoute probe failed or returned another 4xx response.
CMS-ROUTE-INVALIDerrorroutesConfig route resolved to an empty, non-slash, or protocol-relative path.
CMS-ROUTE-RESOLVEerrorroutesThe configured getPath function threw.
CMS-UID-MISSINGerrorroutesA route pattern needs :uid, but the document has no UID.
CMS-ROUTE-UNMAPPEDinforoutesDocument type has no configured route mapping.
CMS-FIELD-MISSINGerror or warningfieldsA project-specific required field is missing or blank. Severity follows that field rule.
SEO-META-MISSINGwarningseoSEO title or description is blank across the provider-specific field shapes cms-lab understands.
A11Y-IMG-ALTwarninga11yA CMS image field is missing useful alt text in the provider native alt field.

Explain a code

Use the CLI when you want the short fix guidance in your terminal.

npx @cms-lab/cli explain CMS-ROUTE-404