ValidationError message fix(should be refactored)

1 job for master in 1 minute and 44 seconds (queued for 2 minutes and 22 seconds)
Status Name Job ID Coverage
  Test
passed sonarcloud-check #35108

00:01:44