This repository was archived by the owner on Mar 24, 2023. It is now read-only.
This repository was archived by the owner on Mar 24, 2023. It is now read-only.
Issue with Template Id #199
Open
Description
Hello
I am trying to run a campaign. For that I am setting a template to campaign . But my campaign id is bigger than normal integer. So its giving
System.OverflowException: Value was either too large or too small for an Int16.Value was either too large or too small for an Int16.
MailChimp.Net.MailChimpManager mns = new MailChimpManager();
MailChimp.Net.Models.Campaign cmp = await mns.Campaigns.GetAsync(model.CampaignId );
cmp.Settings.TemplateId = Convert.ToInt16(model.TemplateId); //128697
Can you please check it for me?
Thanks and Regards
Roopesh