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