Skip to content
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

Description

@roopeshkurian

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions