# document_required

HTTP status: 400

## What the API sends

```
{"error":"document_required","message":"A redeploy needs your compose file. Send it in the \"document\" field; Astris checks it, then deploys it."}
```

## When it happens

A compose stack redeploy was sent without the compose file. Compose stacks are not available in the private preview, so today the API answers [compose_unavailable](/docs/errors/compose_unavailable) first.

## What to do

Send the compose file in the `document` field.
