# timeout

> Not in time. Something did not happen in the time it was given.

[Errors](https://docs.wheelmachine.ai/errors/index.html) / `timeout`

408, 504 **Not in time**

Something did not happen in the time it was given.

## When it happens

- 408: the machine did not reach the state you waited for, or it was deleted meanwhile.
- 504: a command ran longer than 10 minutes. It may still be running in the machine.
- 504: the call took longer than it may.

## What to do

For a wait, look at the machine's state, and wait again if it is still on its way. For long work, start it in the background and read its output from a file: see [Long work](https://docs.wheelmachine.ai/commands-and-files.html#long-work).

**Send it again?** A wait, yes. A command, only once you know it is not still running.

Every code, and how to read a refusal: [Errors](https://docs.wheelmachine.ai/errors/index.html).
