{
    "code": 0,
    "subDomains": {
        "fatal": {
            "code": 0,
            "errors": {
                "unexpected_error": {
                    "description": "Caught an unexpected error. Please contact your support.",
                    "code": 1,
                    "message": "Caught an unexpected error: %s.",
                    "class": "InternalError"
                },
                "service_unavailable": {
                    "description": "An external service is unavailable",
                    "code": 2,
                    "message": "Service unavailable: %s.",
                    "class": "ExternalServiceError"
                },
                "service_timeout": {
                    "description": "Service initialization timeout",
                    "code": 3,
                    "message": "[FATAL] Service \"%s\": initialization timeout",
                    "class": "InternalError"
                },
                "unreadable_log_dir": {
                    "description": "Cannot read the content of the log directory",
                    "code": 4,
                    "message": "Cannot read log directory '%s' : %s.",
                    "class": "InternalError"
                },
                "assertion_failed": {
                    "description": "A runtime assertion has failed. Please contact support.",
                    "code": 5,
                    "message": "Runtime assertion failed: %s",
                    "class": "InternalError"
                }
            }
        },
        "realtime": {
            "code": 1,
            "errors": {
                "room_not_found": {
                    "description": "The provided room identifier doesn't exist",
                    "code": 1,
                    "message": "The room \"%s\" doesn't exist",
                    "class": "NotFoundError"
                },
                "invalid_rooms": {
                    "description": "The provided \"rooms\" argument is invalid",
                    "code": 2,
                    "message": "The \"rooms\" attribute must be an array.",
                    "class": "BadRequestError"
                },
                "invalid_state": {
                    "description": "An invalid value has been provided to the \"state\" argument",
                    "code": 3,
                    "message": "Invalid value for the \"state\" parameter (allowed: \"all\", \"done\", \"pending\").",
                    "class": "BadRequestError",
                    "deprecated": "2.0.0"
                },
                "invalid_scope": {
                    "description": "An invalid value has been provided to the \"scope\" argument",
                    "code": 4,
                    "message": "Invalid value for the \"scope\" parameter (allowed: \"all\", \"in\", \"out\", \"none\").",
                    "class": "BadRequestError"
                },
                "invalid_users": {
                    "description": "An invalid value has been provided to the \"users\" argument",
                    "code": 5,
                    "message": "Invalid value for the \"users\" parameter (allowed: \"all\", \"in\", \"out\", \"none\").",
                    "class": "BadRequestError"
                },
                "too_many_terms": {
                    "description": "The number of filter terms exceeds the configured server limit",
                    "code": 6,
                    "message": "Unable to subscribe: maximum number of terms exceeded (max %s, received %s).",
                    "class": "SizeLimitError",
                    "deprecated": "2.12.3"
                },
                "too_many_rooms": {
                    "description": "The configured number of unique rooms has been reached",
                    "code": 7,
                    "message": "Unable to subscribe: maximum number of unique rooms reached.",
                    "class": "SizeLimitError"
                },
                "not_subscribed": {
                    "description": "Tried to manage a room while not having subscribed to it",
                    "code": 8,
                    "message": "User \"%s\" has not subscribed to \"%s\".",
                    "class": "PreconditionError"
                }
            }
        },
        "vault": {
            "code": 2,
            "errors": {
                "cannot_decrypt": {
                    "description": "Decryption of a vault file failed",
                    "code": 1,
                    "message": "Cannot decrypt secrets: %s.",
                    "class": "InternalError"
                },
                "key_not_found": {
                    "description": "A vault file has been provided without a vault key",
                    "code": 2,
                    "message": "Cannot find vault key. Aborting.",
                    "class": "InternalError"
                }
            }
        },
        "configuration": {
            "code": 3,
            "errors": {
                "invalid_type": {
                    "description": "Wrong configuration parameter type",
                    "code": 1,
                    "message": "Invalid type for the configuration parameter \"%s\" (expected: %s)",
                    "class": "InternalError"
                },
                "out_of_range": {
                    "description": "A configuration value exceeds the allowed range",
                    "code": 2,
                    "message": "The configuration value set for \"%s\" is outside the allowed range (allowed: %s)",
                    "class": "InternalError"
                },
                "cannot_parse": {
                    "description": "The kuzzlerc configuration file is badly formatted.",
                    "code": 3,
                    "message": "Unable to read kuzzlerc configuration file: %s",
                    "class": "InternalError"
                },
                "incompatible": {
                    "description": "The kuzzlerc configuration file has incompatible configurations",
                    "code": 4,
                    "message": "Incompatible configuration: %s",
                    "class": "InternalError"
                }
            }
        },
        "sandbox": {
            "code": 4,
            "deprecated": "2.0.0",
            "errors": {
                "process_already_running": {
                    "description": "A process is already running for this sandbox",
                    "code": 1,
                    "message": "A process is already running for this sandbox",
                    "class": "InternalError"
                },
                "timeout": {
                    "description": "Sandbox execution timed out",
                    "code": 2,
                    "message": "Timeout. The sandbox did not respond within %sms.",
                    "class": "GatewayTimeoutError"
                }
            }
        },
        "debugger": {
            "code": 5,
            "errors": {
                "not_enabled": {
                    "description": "The debugger is not enabled",
                    "code": 1,
                    "message": "Debugger is not enabled",
                    "class": "PreconditionError"
                },
                "monitor_already_running": {
                    "description": "The monitor is already running",
                    "code": 2,
                    "message": "The monitoring of \"%s\" is already running",
                    "class": "PreconditionError"
                },
                "monitor_not_running": {
                    "description": "The monitor is not running",
                    "code": 3,
                    "message": "The monitoring of \"%s\" is not running",
                    "class": "PreconditionError"
                },
                "native_debug_protocol_usage_denied": {
                    "description": "Usage of the native debug protocol is not allowed",
                    "code": 4,
                    "message": "Usage of the native debug protocol is not allowed",
                    "class": "PreconditionError"
                },
                "method_not_found": {
                    "description": "Debugger method not found",
                    "code": 5,
                    "message": "Debugger method \"%s\" not found.",
                    "class": "PreconditionError"
                }
            }
        }
    }
}
