AADSTS700082: The refresh token has expired due to inactivity
Hi! We have error called refresh token has expired due to inactivity error but we use the refresh_token everyday and we expect it to be refreshed every time. Meaning of refresh_token life span should increase each time.
We know that refresh token will expire after 90 days if it's inactive but we use it everyday.
At our code base, we use
request_oauth_tokens_by_refresh_token function with Python bing ads SDK.
Can anyone help me with this case? what might be the reason for this problem?
bingads.exceptions.OAuthTokenRequestException: error_code: invalid_grant, error_description: AADSTS700082: The refresh token has expired due to inactivity. The token was issued on 2023-03-24T14:58:04.6654271Z and was inactive for 90.00:00:00.