# EnvAddressError

> **Class** in `langsmith`

📖 [View in docs](https://reference.langchain.com/python/langsmith/address/EnvAddressError)

The `LANGSMITH_AGENT_*` / project env vars can't address a run.

Raised for half an address, an invalid one, or an address beside a project.
Tracing entry points (`@traceable`, `trace`, `tracing_context`,
`create_run`) catch it, log it and leave the call untraced, so a bad
environment never breaks the code being traced. Explicit ingestion calls
(`batch_ingest_runs`, `multipart_ingest`) let it raise for runs that name no
destination, rather than drop part of a batch the caller built.

## Signature

```python
EnvAddressError()
```

## Extends

- `utils.LangSmithUserError`

---

[View source on GitHub](https://github.com/langchain-ai/langsmith-python/blob/15dd2a789f976bbbafd803b26d0f25c08b5ed527/src/langsmith/address.py#L83)