Segment has (apparently) no recipients

664 views
Skip to first unread message

crush123

unread,
Mar 26, 2012, 8:58:38 AM3/26/12
to MailChimp API Discuss
My client has a site which uses the API to create/send campaigns.

The last 3 attempts they have made, the list segment contains no
recipients.

The only criteria for the campaign is that the Merge Tag 'InMailing'
is set to 1

Looking at my list, there are 89 members with that criteria.

If I log into the mailchimp account and do a refresh, the recipient
list is updated correctly, but creating / sending a campaign via the
API gives me 0 recipients,

This was working fine until last week,

Contacted General support who suggested I talk to you.!

Issue id LTK494027653768X if that helps

jesse

unread,
Mar 26, 2012, 9:33:04 AM3/26/12
to mailchimp-...@googlegroups.com
The problem is that you're using "like" instead of "eq" for the segmentation against a "number" type merge var, which never should have worked and then was broken when some other things were fixed with number type merge var segmenting a week or two ago. I'm updating our code to properly error out when that happens, but you'll also need to fix your code. It works in the web app because it is properly only displaying the correct options, so technically what you're doing there and in your code are totally different. You can see that by reading out the campaigns via campaigns().


jesse

crush123

unread,
Mar 26, 2012, 11:08:31 AM3/26/12
to mailchimp-...@googlegroups.com
Got It !

Pages updated & Problem Solved
Reply all
Reply to author
Forward
0 new messages