Bing Ads API invalid grant error

Gandra, Poojitha Rao 11 Reputation points
2022-01-13T16:54:58.547+00:00

Hi ,

While trying to run a BING ADS API report on my local , I received the below error:
error_code: invalid_grant, error_description: AADSTS70000: The user could not be authenticated or user interaction is required. The user must sign in again and if needed grant the client application access to the requested scope.
Trace ID: 09c6cf59-dec1-45d4-ab16-5f40c8b0b708
Correlation ID: 6945c09c-4613-43cf-b8ce-f37743f0f2ca

This code is running fine in our production environment. Please suggest what needs to be done.

Thanks,

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
424 questions
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.