BingAds / BingAds-Python-SDK

Other
115 stars 162 forks source link

Error_code: invalid_grant, error_description: AADSTS70000: The provided value for the input parameter 'refresh_token' or 'assertion' is not valid. #279

Open SiebertLooijeAtBillyGrace opened 2 months ago

SiebertLooijeAtBillyGrace commented 2 months ago

Dear,

Suddenly we get the following error response for some clients: error_code: invalid_grant, error_description: AADSTS70000: The provided value for the input parameter 'refresh_token' or 'assertion' is not valid. Trace ID: 91af4011-2822-4038-b029-ddd8c46caf00 Correlation ID: ee3f808b-2662-4eca-ad60-c824a57f2719 Timestamp: 2024-04-15 18:41:56Z

If you would rerun exactly the same code again, then it is given the right refresh_token. Tracking id of the successful trace: 60b25c22-7a2f-4511-8928-818a4bf79898

Can you have a look what is happening here?

Shiying-Li commented 2 months ago

Same here, the problems not always appear. The same refresh token some times works, some times not.