Skip to content
This repository has been archived by the owner on Mar 24, 2023. It is now read-only.

Issue with Template Id #199

Open
roopeshkurian opened this issue Jul 19, 2016 · 0 comments
Open

Issue with Template Id #199

roopeshkurian opened this issue Jul 19, 2016 · 0 comments
Labels

Comments

@roopeshkurian
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants