diff --git a/src/Microsoft.Health.Fhir.Api/Features/Filters/ValidateExportRequestFilterAttribute.cs b/src/Microsoft.Health.Fhir.Api/Features/Filters/ValidateExportRequestFilterAttribute.cs index 0d4b3bbb63..77db0a8bd2 100644 --- a/src/Microsoft.Health.Fhir.Api/Features/Filters/ValidateExportRequestFilterAttribute.cs +++ b/src/Microsoft.Health.Fhir.Api/Features/Filters/ValidateExportRequestFilterAttribute.cs @@ -85,7 +85,7 @@ public override void OnActionExecuting(ActionExecutingContext context) if (!requiredHeaderValueFound) { - throw new RequestNotValidException($"Missing required header value; header={PreferHeaderName},value={PreferHeaderValueOptional}."); + throw new RequestNotValidException($"Missing required header value; header={PreferHeaderName},value={PreferHeaderValueRequired}."); } } else