Invalid layer tokens

HTTP 422 · bad-layer← all Webpath errors

The layer value contains unrecognized tokens.

How to recover. Use recognized layer tokens (off, keys, no-palette, no-preview, no-transition).

Example response

{
  "type": "https://muse.as/a/webpath/errors/bad-layer",
  "title": "Invalid layer tokens",
  "status": 422,
  "detail": "Use recognized layer tokens (off, keys, no-palette, no-preview, no-transition)."
}

This page documents the bad-layer error type returned in Webpath RFC 7807 application/problem+json responses. The machine-readable detail field carries a recovery hint you can show a user verbatim — see the Spec §12 and API Reference.