cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Java API: Some times CCApi2 unable to connect.

New Member

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

 

Thanks

Tags (1)
1 REPLY 1
Moderator

Re: Java API: Some times CCApi2 unable to connect.

Hello,

Thank you for reaching out to Constant Contact API Developer Support.

Are you seeing inconsistent results for the same account, or is your integration used with multiple accounts and only some accounts return null when this call is made?

Regards,

David B.
Tier II API Support Engineer