Mailchimp campaign sending error - this campaign has already been sent and cannot be resent

I have a Mailchimp RSS campaign that reads the RSS feed on a website and is installed once a day. I want to send this campaign programmatically after adding an item to the feed.

I am using PerceptiveMCAPI, and my code to run the campaign is

campaignSendNowInput campaignSendNowInput = new campaignSendNowInput(apiKey, campaignKey);
campaignSendNow campaignSendNow = new campaignSendNow(campaignSendNowInput);
campaignSendNowOutput campaignSendNowOutput = campaignSendNow.Execute();

Received error looks like

"Error Code: 313, Message: This Campaign has already been sent and can not be sent again."

Any ideas on what could be causing this?

+5
source share
1 answer

Well, I think, after looking at it a little more, I initially had the wrong logic. The correct way, in my opinion, is to create a new campaign every time, and then send this new campaign. Campaigns must be sent once.

RSS- Mailchimp , , . , RSS-, RSS-, RSS.

0

All Articles