sendinblue/APIv3-java-library

emailCampaignsApi.getEmailCampaign(ID) parseException

lionelbouth opened this issue · 2 comments

First, I send an Email campagain as draft in sendinblue without field sechudledAt.

Next, i'm trying to get the campaign using

EmailCampaignsApi apiInstance = new EmailCampaignsApi();
GetEmailCampaign result = apiInstance.getEmailCampaign(campaignId);

Then I have the error Exception in thread "main" org.threeten.bp.format.DateTimeParseException: Text '' could not be parsed at index 0

It's because you should not serialize the field scheduledAtwith an empty String but NULL

Thanks

I got the same issue

Hi @lionelbouth @DienNM , Please try the latest version 4.0.0 and let us know if you face the same issue again.

Thanks,
Amit Joshi