Ringkasan
The server cannot process the request due to a client error such as malformed syntax.
Kapan terjadi
Returned when the request is malformed, has invalid framing, or fails basic validation.
Penyebab umum
- Malformed JSON or request body
- Invalid or missing query parameters
- Wrong Content-Type for the payload
- Oversized or corrupted cookies/headers
Cara mengatasi
- 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