# ConfigurationError

> Invalid arguments or configuration, detected before any payment is attempted.

```python
from ai_economy_sdk import ConfigurationError
```

```python
class ConfigurationError(AIEconomyError, ValueError)
```

Invalid arguments or configuration, detected before any payment is attempted.

Raised, for example, when an ALGO price does not cover the fee-payer cost and
`allow_loss` is False, when a transport name is not supported, or when a
pricing function has an unsupported signature.

Source: [ai_economy_sdk/exceptions.py](https://github.com/x402-avm/ai-economy-sdk/blob/main/ai_economy_sdk/exceptions.py#L40)

Source: https://x402-avm.github.io/reference/python/ai-economy-sdk/configuration-error
