---
title: "BadRequestResponseError"
---

Bad Request - Invalid request parameters or malformed input


## Fields

| Field                                                                                  | Type                                                                                   | Required                                                                               | Description                                                                            | Example                                                                                |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `error`                                                                                | [components.BadRequestResponseErrorData](../components/badrequestresponseerrordata.mdx) | :heavy_check_mark:                                                                     | Error data for BadRequestResponse                                                      | \{<br/>"code": 400,<br/>"message": "Invalid request parameters"<br/>}                   |
| `openrouter_metadata`                                                                  | Dict[str, *Nullable[Any]*]                                                             | :heavy_minus_sign:                                                                     | N/A                                                                                    |                                                                                        |
| `user_id`                                                                              | *OptionalNullable[str]*                                                                | :heavy_minus_sign:                                                                     | N/A                                                                                    |                                                                                        |