Add a check in case the request fail