differenciate between 422 and 500 errors