0

My code loops over a list of Mailchimp audience IDs and makes a call to the Mailchimp API to archive a user in each audience. This works for the first audience, but the second audience gives a 405 Method not Allowed error every time with the following body:

{"type":"https://mailchimp.com/developer/marketing/docs/errors/","title":"Method Not Allowed","status":405,"detail":"This list member cannot be removed. Can not archive a contact that is bounced, pending or archived","instance":"<REDACTED>"}

When I re-run the code it works and the user gets archived in the previously failing audience as well.

I can't find any details on this error message in the API docs. What could be going wrong here?

voodoo-burger
  • 2,123
  • 3
  • 22
  • 29

0 Answers0