See request_failed in the errors guide.