Handle failed requests