Some customers are experiencing difficulties connecting with our support team through our phone system. We are working on resolving this issue as soon as possible. Please visit our Help Center to see other ways you can find answers to your questions.
Get a little or give a little? Your choice. But either way you have the chance to win big! Visit the Get Advice board today and join our Get Advice, Give Advice Sweepstakes for a chance to win up to $300!

Scheduling Campaign through API

jhernandez1
Regular Participant

Scheduling Campaign through API

Is there a delay in creating the list?


Here are the steps I am doing:


1. Create list


2. Create Campaign.


3. Schedule Campaign.


Sometimes this works and sometimes it gets to step 3 and then I get a Bad Request.


I have tried using my XML in the REST Client and I get \


Error 400: No contacts to send.


Even though when I log into constantcontact.com I can see the campaign and it has a list with 2 subscribers associated it.

2 REPLIES 2
bsoder
Employee

Hello,



There should not be a delay in creating a list. You should not be getting that error unless you are trying to schedule to an campaign that has lists attached to it but no contacts in the lists.



I tried recreating this issue on my end, but it does appear to be working fine. I would like to have you email us your code so that I can see what is going on, with that I may be able to find a solution.



You can email your code to the webservices support team.



Regards,

Benjamin Soder
NOC Analyst
Constant Contact
jhernandez1
Regular Participant

Thanks for your help.

Developer Portal

View API documentation, code samples, get your API key.

Visit Page