> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Config Version Error • AI Agent SDK

> ConfigVersionError: Raised when a config carries a ``config_version`` this build can't handle.

# ConfigVersionError

> Defined in the [**config**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/config.md) module.

AI Agent

Raised when a config carries a `config_version` this build can't handle.

Two cases, both operator-actionable rather than silently corrupting data:

* the stamp is a version *newer* than :data:`GATEWAY_CONFIG_VERSION` — an
  older binary must not downgrade / migrate a config written by a newer
  one (that would drop keys the newer schema added), so migration refuses;
* the stamp is present but not a non-boolean integer — a malformed stamp
  (`true`, `"1"`, `1.0`) is a mistake, not "current", so it is
  rejected instead of being treated as version 1 via `True == 1`.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/config.py#L40)
>
> `praisonaiagents/gateway/config.py` at line 40

***

## Related Documentation

> [card] [Configuration Overview](https://praison.ai/docs/docs/configuration/index)

> [card] [Agent Config](https://praison.ai/docs/docs/configuration/agent-config)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.