diff --git a/CSETWebApi/CSETWeb_Api/CSETWeb_ApiCore/Controllers/AssessmentController.cs b/CSETWebApi/CSETWeb_Api/CSETWeb_ApiCore/Controllers/AssessmentController.cs index bf0dae3ca9..4e1ee54abf 100644 --- a/CSETWebApi/CSETWeb_Api/CSETWeb_ApiCore/Controllers/AssessmentController.cs +++ b/CSETWebApi/CSETWeb_Api/CSETWeb_ApiCore/Controllers/AssessmentController.cs @@ -95,7 +95,7 @@ public IActionResult CreateAssessment([FromQuery] string workflow, [FromQuery] G } ICreateAssessmentBusiness assessmentBusiness = (ICreateAssessmentBusiness) _assessmentBusiness; - switch (config.Model.ModelName) + switch (config.Model?.ModelName) { case "ACET": case "ISE":