# generation_failed

> The generation failed

Source: https://docs.nocamclub.com/errors/generation_failed

- **Where:** `error` of a generation with `status: "failed"`
- **Charged:** No
- **Worth retrying:** Yes. The same request can work, after any wait the error names.

## What happened

The model failed and every other route was tried. The credits came back.

## What to do

Try the same request again. If it fails each time, simplify the prompt or try another model.

## What it looks like

The real `message` and `hint` name the details of your request, such as the field and the values that work.

```json
{
  "status": "failed",
  "error": {
    "code": "generation_failed",
    "message": "The model failed and every other route was tried. The credits came back.",
    "hint": "Try the same request again. If it fails each time, simplify the prompt or try another model.",
    "retryable": true,
    "docs_url": "https://docs.nocamclub.com/errors/generation_failed"
  }
}
```

All codes: [Errors](https://docs.nocamclub.com/errors.md).
