# SandboxAPIError

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/sandbox/_exceptions/SandboxAPIError)

Raised when the API endpoint returns an unexpected error.

For example, this is raised for wrong URL or path.

## Signature

```python
SandboxAPIError()
```

## Extends

- `SandboxClientError`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-sdk/blob/19dc497a3d89638e4cc35db72ea1c29cad35cbbf/python/langsmith/sandbox/_exceptions.py#L26)