MailChimp.NET
MailChimp.NET copied to clipboard
Issue with Template Id
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