TODO: Check if the request had failed