# NovaValidationError

> **Class** in `langchain_amazon_nova`

📖 [View in docs](https://reference.langchain.com/python/langchain-amazon-nova/_exceptions/NovaValidationError)

Exception raised for invalid request parameters (HTTP 400).

This includes:
- Invalid model parameters (temperature, top_p, etc.)
- Malformed requests
- Invalid tool definitions
- Invalid message formats

## Signature

```python
NovaValidationError(
    self,
    message: str,
    response: Optional[Dict[str, Any]] = None,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `message` | `str` | Yes | Error message |
| `response` | `Optional[Dict[str, Any]]` | No | Full response data if available (default: `None`) |

## Extends

- `NovaError`

## Constructors

```python
__init__(
    self,
    message: str,
    response: Optional[Dict[str, Any]] = None,
)
```

| Name | Type |
|------|------|
| `message` | `str` |
| `response` | `Optional[Dict[str, Any]]` |


---

[View source on GitHub](https://github.com/amazon-nova-api/langchain-amazon-nova/blob/213daad519b5c69124a9029884d7f593944bd35f/libs/amazon_nova/langchain_amazon_nova/_exceptions.py#L34)