diff --git a/src/main/java/io/cdap/plugin/http/common/HttpErrorDetailsProvider.java b/src/main/java/io/cdap/plugin/http/common/HttpErrorDetailsProvider.java index f16dccf..6012239 100644 --- a/src/main/java/io/cdap/plugin/http/common/HttpErrorDetailsProvider.java +++ b/src/main/java/io/cdap/plugin/http/common/HttpErrorDetailsProvider.java @@ -100,7 +100,7 @@ private ProgramFailureException getProgramFailureException(InvalidConfigProperty String errorMessageFormat = "Error occurred in the phase: '%s'. Error message: %s"; return ErrorUtils.getProgramFailureException(new ErrorCategory(ErrorCategory.ErrorCategoryEnum.PLUGIN), errorMessage, - String.format(errorMessageFormat, errorContext.getPhase(), errorMessage), ErrorType.SYSTEM, false, e); + String.format(errorMessageFormat, errorContext.getPhase(), errorMessage), ErrorType.USER, false, e); } /**