request erorr handleing