> ## 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.

# GenerationContentErrorAttempt

A single failed upstream attempt recorded for the generation

## Fields

| Field           | Type             | Required             | Description                                          | Example                                                 |
| --------------- | ---------------- | -------------------- | ---------------------------------------------------- | ------------------------------------------------------- |
| `code`          | *int*            | :heavy\_check\_mark: | HTTP status returned by this attempt                 | 429                                                     |
| `message`       | *str*            | :heavy\_check\_mark: | Error message returned by this attempt               | Provider returned error                                 |
| `provider_name` | *Nullable\[str]* | :heavy\_check\_mark: | Provider that served this attempt, when known        | Google                                                  |
| `raw`           | *Nullable\[str]* | :heavy\_check\_mark: | Raw error body returned by the provider, when stored | \{"error":\{"code":429,"message":"Resource exhausted"}} |
