catch language detection errors, return 422 unprocessable entity