cookie
cookie

Reputation: 11

Bing Ads API - Can not authenticate

I am trying to pull data from bing ads api, running pyspark script on dataproc but i am facing few challenges

Error retrieving access token: {'error': 'invalid_grant', 'error_description': "AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access 'd42ffc93-c136-491d-b4fd-6f18168c68fd'. Trace ID: 20b6e785-2ee2-467b-a6e0-fd3301a63c00 Correlation ID: a53c0c2d-dc21-4653-a159-4332d7f0f2c5 Timestamp: 2025-02-24 08:47:50Z", 'error_codes': [50076], 'timestamp': '2025-02-24 08:47:50Z', 'trace_id': '20b6e785-2ee2-467b-a6e0-fd3301a63c00', 'correlation_id': 'a53c0c2d-dc21-4653-a159-4332d7f0f2c5', 'error_uri': 'https://login.microsoftonline.com/error?code=50076', 'suberror': 'basic_action'} Failed to authenticate with Bing Ads API.

eventhough i manually generated refresh token, and when i ran same refresh token from postman it worked, but here its failing, could anyone please tell why

Upvotes: 0

Views: 12

Answers (0)

Related Questions