Hi @Dumitru Pascu • Thank you for reaching out.
The only option, as far as I can think of, is to configure your application to retry with exponential backoff upon receiving the AADB2C90018
error, as explained below:
- Application invokes the request that fails with the error
AADB2C90018
. - Application waits for a short interval (e.g. 1 second) and tries again. The request still fails with the error
AADB2C90018
. - Application waits for a longer interval (e.g. 2 seconds) and tries again. The request succeeds with HTTP response code
200 (OK)
.
Code sample:
{
Retry =
{
Delay= TimeSpan.FromSeconds(2),
MaxDelay = TimeSpan.FromSeconds(16),
MaxRetries = 5,
Mode = RetryMode.Exponential
}
};
# Wait 1 second, retry request
# If still fails wait 2 seconds, retry request
# If still fails wait 4 seconds, retry request
# If still fails wait 8 seconds, retry request
# If still fails wait 16 seconds, retry request
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.