The DevOps Drop
Home / Encyclopedia / HTTP Status Codes / 4xx Client Error Responses / 406 Not Acceptable

406 Not Acceptable

The HTTP 406 Not Acceptable status code indicates that the server cannot provide a response matching the formats requested by the client.

Published 16 Jul 2026 · HTTP Status Code

What is HTTP 406 Not Acceptable?

The 406 Not Acceptable response occurs when the server cannot generate a representation that matches the client requirements.

The Accept Header

Clients communicate supported formats using the Accept header.

Accept: application/xml

Common Causes

  • Unsupported response format
  • Incorrect API headers
  • Content negotiation failures

Summary

406 Not Acceptable means the server cannot satisfy the client's requested response format.