diff --git a/monkey/monkey_island/cc/resources/configuration.py b/monkey/monkey_island/cc/resources/configuration.py index 0a889a6da..6e4a00826 100644 --- a/monkey/monkey_island/cc/resources/configuration.py +++ b/monkey/monkey_island/cc/resources/configuration.py @@ -28,7 +28,7 @@ class AgentConfiguration(AbstractResource): configuration_json = json.loads(request_contents["config"]) try: - configuration_object = self._schema.loads(configuration_json) + configuration_object = self._schema.load(configuration_json) self._agent_configuration_repository.store_configuration(configuration_object) return make_response({}, 200) except marshmallow.exceptions.ValidationError: