veda-consulting-company / uk.co.vedaconsulting.mailchimp

Other
22 stars 43 forks source link

Contact Added to Group not Syncing to Mailchimp #283

Open zkrebs opened 7 years ago

zkrebs commented 7 years ago

Using Version, 2.0 Released on 2016-12-23 CiviCRM 4.7.17

I have a master list and a parent group in Civi. Then an interest list, and a subgroup in Civi.

When I add a contact into the database, then update the contact to join the subgroup (which is a child group of the parent), they are not added automatically into Mailchimp.

Is there a way to debug? I have re-saved both groups and double checked my webhook setting. I believe this was working prior to 2.x

zkrebs commented 7 years ago

Enabled CiviCRM debugging and now see these

Request #3 ============================================= Method : PATCH Url : https://us10.api.mailchimp.com/3.0/lists/663aa517f4/members/47de503ca3697b3d02a31e54883f5d8b Took : 0.16s Response Code: 404 Request Body : stdClass::__set_state(array( 'status' => 'unsubscribed', )) Response Body: stdClass::__set_state(array( 'type' => 'http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/', 'title' => 'Resource Not Found', 'status' => 404, 'detail' => 'The requested resource could not be found.', 'instance' => '', ))

Deprecated: Group='MailChimp Preferences'. Name='enable_debugging'. Defaults should come from metadata

Also, attached image of error log patterns; capture