> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GenerationContentError

The stored failure for this generation, or null when it succeeded

## Fields

| Field             | Type                                                                                               | Required             | Description                                                                    | Example                                                |
| ----------------- | -------------------------------------------------------------------------------------------------- | -------------------- | ------------------------------------------------------------------------------ | ------------------------------------------------------ |
| `message`         | *Nullable\[str]*                                                                                   | :heavy\_check\_mark: | Error message returned to the client                                           | Timed out waiting for the provider                     |
| `previous_errors` | List\[[components.GenerationContentErrorAttempt](../components/generationcontenterrorattempt.mdx)] | :heavy\_check\_mark: | Every upstream attempt that failed before the returned error, in attempt order |                                                        |
| `provider_name`   | *Nullable\[str]*                                                                                   | :heavy\_check\_mark: | Provider whose error was returned to the client, when known                    | Vertex                                                 |
| `raw`             | *Nullable\[str]*                                                                                   | :heavy\_check\_mark: | Raw error body behind the returned error, when stored                          | \{"error":\{"code":504,"message":"Deadline exceeded"}} |
| `status`          | *Nullable\[int]*                                                                                   | :heavy\_check\_mark: | HTTP status returned to the client                                             | 504                                                    |
