Trying to fix error 422 - Unprocessable entity