Return 500 error when parse failed