diff --git a/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java b/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java index 8400d89a8..cabb36eca 100644 --- a/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java +++ b/modules/charon-core/src/main/java/org/wso2/charon3/core/exceptions/BadRequestException.java @@ -28,7 +28,7 @@ public BadRequestException() { } public BadRequestException(String scimType) { - this(ResponseCodeConstants.DESC_BAD_REQUEST, scimType); + this(scimType, ResponseCodeConstants.DESC_BAD_REQUEST); } public BadRequestException(String details, String scimType) {