Skip to content
RSXDocs
RSX · API · Errors

Length required

Status
411
Slug
length-required
Type URL
https://docs.rsx.group/errors/length-required
01

What happened

An artefact upload arrived without a Content-Length. Object storage cannot accept a body whose size is not known in advance, so there is nothing to write.

02

What to do

Send a Content-Length header. Every ordinary HTTP client does this automatically for a body of known size; a chunked or streaming upload has to be buffered first.

03

What you receive

The body is application/problem+json. detail varies with the request; everything else is what you see here.

json
{
  "type": "https://docs.rsx.group/errors/length-required",
  "title": "Length required",
  "status": 411,
  "detail": "...",
  "instance": "/{project}/{version}/{group}/{action}",
  "requestId": "0198f2b1-..."
}