A setting is invalid
- Type
https://pyeconomics.dev/problems/invalid-configuration- HTTP status
- 500
- Exit code
- 1 (internal error)
- Raised as
ConfigError
What it means
A setting is invalid, or a configuration file holds a secret, which pyeconomics refuses to read.
What to do
Correct the setting the detail names; keep keys in the keyring or the environment, never in pyeconomics.toml.
Every pyeconomics surface reports a failure as a problem in the form of RFC 9457: its type, title, HTTP status and detail, and the exit code the command line returns. A problem never holds a key, a file path, a host or an upstream URL. Every problem type.