Invalid MailChimp List ID:

438 views
Skip to first unread message

g...@juhlsen.com

unread,
Oct 1, 2013, 3:41:05 AM10/1/13
to mailchimp-...@googlegroups.com
Hi,

We have integration with your API (v1.3). When we are subscribing people to lists sometime we are getting this error back: "Invalid MailChimp List ID:". It appears as if we are making API call without List ID.
This does not happen every time and usually when we make the same API call again (we try it up to 3 times) with exact same parameters it just goes through.
Is this some known problem?

Best regards
GS

jesse

unread,
Oct 1, 2013, 6:15:44 AM10/1/13
to mailchimp-...@googlegroups.com
Nope - that's a problem with your code that you'll need to work out.


jesse

g...@juhlsen.com

unread,
Oct 1, 2013, 10:58:23 AM10/1/13
to mailchimp-...@googlegroups.com
Hi jesse,

I got some network logs. Some values have been partially or fully redacted (replaced with <redacted>) because this is public mailing list.

Method: POST
Query (Post Body) follows:
id=<redacted>4a850&email_address=<redacted>%40maily.dk&merge_vars[EMAIL]=<redacted>%40maily.dk&merge_vars[EMAIL_TYPE]=html&merge_vars[CALLABEL]=<redacted>&merge_vars[SECRET]=<redacted>&merge_vars[BIRTHDAY]=&merge_vars[NEWSLETTER]=False&merge_vars[DAILYMAIL]=False&merge_vars[RDATETIME]=2013-10-01T13%3a46%3a26&merge_vars[RSOURCE]=<redacted>&merge_vars[REGIP]=<redacted>&merge_vars[PROFILELVL]=None&email_type=html&double_optin=0&update_existing=1&send_welcome=1&apikey=<redacted>-us7

Response Body follows:
<MCAPI type="array"> <error type="string">Invalid MailChimp List ID: </error> <code type="integer">200</code> </MCAPI>

Same exact request is retried later:

Method: POST
Query (Post Body) follows:
id=<redacted>4a850&email_address=<redacted>%40maily.dk&merge_vars[EMAIL]=<redacted>%40maily.dk&merge_vars[EMAIL_TYPE]=html&merge_vars[CALLABEL]=<redacted>&merge_vars[SECRET]=<redacted>&merge_vars[BIRTHDAY]=&merge_vars[NEWSLETTER]=False&merge_vars[DAILYMAIL]=False&merge_vars[RDATETIME]=2013-10-01T13%3a46%3a26&merge_vars[RSOURCE]=<redacted>&merge_vars[REGIP]=<redacted>&merge_vars[PROFILELVL]=None&email_type=html&double_optin=0&update_existing=1&send_welcome=1&apikey=<redacted>-us7

Response Body follows:
<MCAPI type="boolean">1</MCAPI>

API Logs in Mailchimp administration interface show "(200) List_DoesNotExist" at that point in time.

Maybe you know what could be causing it? 
Please let me know if you need additional information.

Best regards
GS

jesse

unread,
Oct 1, 2013, 11:07:04 AM10/1/13
to mailchimp-...@googlegroups.com
You will only get that when we don't see a valid list id (blank would count as invalid). Could be something's not being encoded correctly or is munging your traffic before we get it, but there's nothing we can do on our end to fix that.

And yes, a 200 error code is List_DoesNotExist:
http://apidocs.mailchimp.com/api/1.3/exceptions.field.php


jesse

g...@juhlsen.com

unread,
Oct 2, 2013, 3:39:13 AM10/2/13
to mailchimp-...@googlegroups.com
Hi jesse,

It is unlikely that same things are encoded differently by same code or traffic is being "munged with" because requests are made over https connection.
But okay, so it seems that we are going to have to live with it. 
Thanks for your help! :)

Best regards
GS
Reply all
Reply to author
Forward
0 new messages