I am tryin if the api call has failed due to token expiry to re-get a new token to use again, but I don\'t know how to get which api-call has failed and recall it with the s