Re: Java API: Some times CCApi2 unable to connect.
I am using java sdk which is available on github. I created a connection using CCApi2 and it was working fine but now CCApi2 giving null some times.
Here is code
api = new CCApi2(apiKey , accessToken); AccountSummaryInformation accountSummaryInformation = api.getAccountService() .getAccountSummaryInformation() .execute() .body(); accountSummaryInformation.getFirstName(); //fetch the name for testing connection
You can post a new message in the Community or find us on Twitter Mon-Fri 8am-8pm ET, Sat 10am-8pm ET, & Sun 10am-6pm ET. We've got real people waiting to help you out. Click below to start a conversation!