This topic describes the causes of errors returned with HTTP status code 411 and the solutions to these errors.

MissingContentLength

  • Error message: You must provide the Content-Length HTTP header.
  • Cause: The error message returned because the request does not use chunked encoding or does not contain the Content-Length header.
  • Solution: Ensure that the request uses chunked encoding or contains the Content-Length header.