302 should be throw a error