diff --git a/monkey/monkey_island/cc/resources/agent_configuration.py b/monkey/monkey_island/cc/resources/agent_configuration.py index 1bf311564..4715680a0 100644 --- a/monkey/monkey_island/cc/resources/agent_configuration.py +++ b/monkey/monkey_island/cc/resources/agent_configuration.py @@ -30,6 +30,6 @@ class AgentConfiguration(AbstractResource): return make_response({}, 200) except (InvalidConfigurationError, json.JSONDecodeError) as err: return make_response( - {"message": f"Invalid configuration supplied: {err}"}, + {"error": f"Invalid configuration supplied: {err}"}, 400, )