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

Vipul Saini 1 Reputation point
2021-11-09T13:27:17.64+00:00

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

We are using the code snippet as shown below:

147805-screenshot-2021-11-09-at-64241-pm.png

The errors we are getting is as follows :

147843-screenshot-2021-11-09-at-64954-pm.png

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