Internal BingAds SDK exception has occured while requesting access and refresh token bingads sdk 13.0.10

Vipul Saini 1 Reputation point

I am getting the following error while trying to call requestAccessAndRefreshTokens() method after initializing OAuthDesktopMobileAuthCodeGrant(clientId, refreshToken,
in Java 11.

We are using the code snippet as shown below:


The errors we are getting is as follows :


One thing to note here is that this code is working fine on local but while running the same on EC2 instance, we are facing this issue.

Thanks in advance!

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.
251 questions
No comments
{count} votes