handle request errors as well