Passa al contenuto principale

Error codes

Every MonoPbx error carries a stable code of the form MPBX-<AREA>-<NAME>, for example MPBX-CONFIG-MISSING. The API returns it in the code field of an RFC 9457 problem response, and logs include it, so a code can be searched for directly.

Configuration (MPBX-CONFIG-*)​

CodeMeaningWhat to do
MPBX-CONFIG-MISSINGA required configuration value is not set.Set it in mpbx.toml or the matching environment variable.
MPBX-CONFIG-INVALIDThe configuration could not be parsed or failed validation.Fix the reported key or value.
MPBX-CONFIG-FILE-NOT-FOUNDThe configuration file path does not exist.Check the path passed to the server.
MPBX-CONFIG-UNKNOWN-FLAGAn unknown feature flag name was set.Remove it or correct its spelling.

More areas are added here as they are implemented.