diff --git a/src/main/java/fr/insee/survey/datacollectionmanagement/contact/validation/ValidContactParam.java b/src/main/java/fr/insee/survey/datacollectionmanagement/contact/validation/ValidContactParam.java index caf16d28..14047eff 100644 --- a/src/main/java/fr/insee/survey/datacollectionmanagement/contact/validation/ValidContactParam.java +++ b/src/main/java/fr/insee/survey/datacollectionmanagement/contact/validation/ValidContactParam.java @@ -12,7 +12,7 @@ @Target({ ElementType.FIELD, ElementType.PARAMETER }) @Retention(RetentionPolicy.RUNTIME) public @interface ValidContactParam { - String message() default "Invalid parameter"; + String message() default "Invalid searchParam value.Only identifier, email and name are valid"; Class[] groups() default {}; Class[] payload() default {}; } \ No newline at end of file