BingAds / BingAds-Python-SDK

Other
117 stars 162 forks source link

OAuthTokenRequestException when `require_live_connect` set to True #164

Closed cosimon closed 3 years ago

cosimon commented 4 years ago

When authenticating with OAuthWebAuthCodeGrant and require_live_connect is set to True, I get the an OAuthTokenRequestException with the error message:

error_code: invalid_scope, error_description: The provided value for the input parameter 'scope' is not valid. The scope 'bingads.manage' is not configured for this tenant.

This happens from version 13.0.4 onwards. It does not happen with version 13.0.3

qitia commented 4 years ago

please refer to this example for how to authenticate. or you can share our code piece for investigation.