Added .failure handler to links request