Resumen
The server cannot process the request due to a client error such as malformed syntax.
Cuándo ocurre
Returned when the request is malformed, has invalid framing, or fails basic validation.
Causas comunes
- Malformed JSON or request body
- Invalid or missing query parameters
- Wrong Content-Type for the payload
- Oversized or corrupted cookies/headers
Cómo solucionarlo
- Validate the request syntax and body
- Check the Content-Type header matches the payload
- Inspect and fix query parameters
- Clear cookies if headers are corrupted
Base en la especificación