# A machine quote is required

> quote-required: HTTP 422. Call quote_order first; a machine quote is valid for 24 hours.

Source: https://emailmovers.com/mydatahub/docs/errors/quote-required

`quote-required` is returned with HTTP status 422. Its type URI is `https://emailmovers.com/mydatahub/docs/errors/quote-required`.

## What it means

create_order and POST /v1/orders need a live machine quote_id. It is also returned when a quote was already settled in the other mode, test or live.

## What to do

Call quote_order first; a machine quote is valid for 24 hours.

## Example

```json
{
  "type": "https://emailmovers.com/mydatahub/docs/errors/quote-required",
  "title": "A machine quote is required",
  "status": 422,
  "code": "quote-required",
  "detail": "Call quote_order first; a quote is valid for 24 hours.",
  "next_step": "Call quote_order first; a machine quote is valid for 24 hours."
}
```

## See also

- [Quotes and orders](https://emailmovers.com/mydatahub/docs/quotes-and-orders.md)
- [Spending safely](https://emailmovers.com/mydatahub/docs/spending-safely.md)

All problem types are listed on [Errors](https://emailmovers.com/mydatahub/docs/errors.md).
