Change HTTP error 422 to 400 for strict HTTP compatibilty

See info:
https://stackoverflow.com/questions/16133923/400-vs-422-response-to-post-of-data/20215807#20215807
3 jobs for api-v0.8.4 in 4 minutes and 58 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #8010
api publish

00:02:55

 
  Test
passed #8011
test

00:01:24

 
  Deploy
failed #8012
deploy API to staging

00:00:38

 
Name Stage Failure
failed
deploy API to staging Deploy
Agent pid 3108
$ ssh-add <(echo "$SSH_PRIVATE_KEY")
Identity added: /dev/fd/63 (david@archeepe)
$ mkdir -p ~/.ssh
$ [[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
$ ssh -o StrictHostKeyChecking=no gitlab@${STAGING_SERVEUR_IP} "cd /home/docker && VERSION=${CI_COMMIT_TAG} /bin/bash update.sh trefle && echo \"VERSION=${CI_COMMIT_TAG}\" | tee -a update.log >> .env"
Warning: Permanently added '192.168.4.129' (ECDSA) to the list of known hosts.
/bin/bash: update.sh: No such file or directory
ERROR: Job failed: exit code 1