> ## 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`         | `int64`   | :heavy\_check\_mark: | HTTP status returned by this attempt                 | 429                                                     |
| `Message`      | `string`  | :heavy\_check\_mark: | Error message returned by this attempt               | Provider returned error                                 |
| `ProviderName` | `*string` | :heavy\_check\_mark: | Provider that served this attempt, when known        | Google                                                  |
| `Raw`          | `*string` | :heavy\_check\_mark: | Raw error body returned by the provider, when stored | \{"error":\{"code":429,"message":"Resource exhausted"}} |
