non_canonical_path: The request path is not in canonical form

Every Dynamo server (the core, the hosted front door and the merchant API) refuses a request whose path is not written in canonical form, before it reads any credential. A path is refused when it:

Other escapes inside a segment (%20, %40 in an id) are left to the route, which validates the id as usual.

What to do

On the wire

HTTP 400 on every version (the refusal comes before version and credential checks), with cache-control: no-store:

{
  "error": "request",
  "reason": "non_canonical_path",
  "detail": "non-canonical request path (percent_encoded); send the path unencoded, without dot or empty segments (fail closed)"
}

See all error codes.