probably we need to recover the original rank if API endpoint returns error?