The DevOps Drop
Home / Encyclopedia / HTTP Status Codes / 4xx Client Error Responses / 400 Bad Request

400 Bad Request

The HTTP 400 Bad Request status code indicates that the server cannot process the request because it is malformed or invalid. Learn how it happens and how to troubleshoot it.

Published 16 Jul 2026 · HTTP Status Code

What is HTTP 400 Bad Request?

The 400 Bad Request status code indicates that the server cannot understand or process a request because the request is invalid.

It belongs to the 4xx Client Error category, meaning the problem is usually caused by the client sending an incorrect request.

Common Causes

  • Malformed JSON payloads
  • Invalid query parameters
  • Incorrect request formatting
  • Invalid cookies or headers
  • Unsupported request data

Example

HTTP/1.1 400 Bad Request

Why Does It Matter For DevOps?

DevOps engineers commonly encounter 400 errors when debugging APIs, reverse proxies, and application integrations.

  • Checking application logs
  • Validating API payloads
  • Debugging client integrations

Summary

400 Bad Request means the server received a request it could not process because the request itself was invalid.