MailChimp.NET icon indicating copy to clipboard operation
MailChimp.NET copied to clipboard

GetAllMembersForList fails in case the contacts contain square bracket

Open petsona opened this issue 11 years ago • 3 comments

if the mailchimp contact has a square bracket somewhere in the fields the parsing goes wrong as it uses '[' ']' characters to split the returned result.

petsona avatar Dec 29 '14 23:12 petsona

Can you show/catch the result JSON from Mailchimp (using fiddler or something like that)?

mdissel avatar Dec 30 '14 13:12 mdissel

it will fail on result like this: ["Email Address","First Name","Last Name","MEMBER_RATING","OPTIN_TIME","OPTIN_IP","CONFIRM_TIME","CONFIRM_IP","LATITUDE","LONGITUDE","GMTOFF","DSTOFF","TIMEZONE","CC","REGION","LAST_CHANGED","LEID","EUID","NOTES"] ["[email protected]","Tamara","Sneider",2,"2014-12-30 15:41:24","71.163.12.131","2014-12-30 15:42:39","71.163.12.131","41.6446000","-73.6741000","-5","-4","America/New_York","US","NY","2014-12-30 15:42:39","177869269","2336f56285","[Sunday] Note from Tamara"] ["[email protected]","Paul","Orlando",2,"2014-12-30 10:24:44","80.252.141.82","2014-12-30 10:36:22","80.252.141.82",null,null,null,null,null,null,null,"2014-12-30 10:36:22","177869253","286ca229a9",null]

petsona avatar Dec 30 '14 19:12 petsona

do you have any update on this issue?

petsona avatar Mar 18 '15 18:03 petsona