diff --git a/backend/src/Designer/Filters/ProblemDetailsUtils.cs b/backend/src/Designer/Filters/ProblemDetailsUtils.cs index 282bf54a2c3..d9af84caab8 100644 --- a/backend/src/Designer/Filters/ProblemDetailsUtils.cs +++ b/backend/src/Designer/Filters/ProblemDetailsUtils.cs @@ -13,7 +13,7 @@ public static ProblemDetails GenerateProblemDetails(Exception ex, string customE { Title = $"{exceptionType} occured.", Detail = ex.Message, - Status = (int)HttpStatusCode.Conflict, + Status = (int)statusCode, Type = exceptionType }; details.Extensions.Add("errorCode", customErrorCode);