• Hello — While we’re updating our business website, I put up a temporary page on our WordPress site to collect emails via a Mail Chimp form. When I test the form with my own email address, I get the classic “Ooops Something Went Wrong” message. I installed the Mail Chimp plug-in; linked up the API; and have gone back and forth with making fields required vs. not (seems as though that is what most folks suggest on this topic.) I still get the error message and the de-bug HTML is saying that Merge Fields are Invalid. The code that I get is below. It looks like it might have something to do with what’s listed as the address field, but which I just want to be a Zip Code field. Ideally, I would like email; first name; and zip code to be required. I don’t know much about WordPress or HTML, so some plain language guidance would be much appreciated. And here is a link to a screen shot of the form viewed in the Mail Chimp Plug-In: https://imgur.com/a/AuRG9Xt Thank you!

    [2018-08-02 01:48:49] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.124.249"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"571a0a27-ca32-4e36-9b68-d459bdee7dc3","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 02:15:14] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/aba91e698cd2b0663f51070b010ed991 - {"email_address":"dean*********@ya***.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19031"},"FNAME":"Deanna","LNAME":"Durante"},"status":"pending","email_type":"html","ip_signup":"68.82.78.190"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"2a513195-a16d-4058-a357-b0c8fbb253ae","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 02:20:16] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.124.249"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"1b28e8fe-aabe-46d6-b8f8-0ed5dc414102","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 02:22:55] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.124.249"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"6d82b9b6-0450-447c-88c6-924991c4d422","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 02:33:46] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.124.249"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"ebf7e762-f5e4-49c4-b43a-00d31790cabc","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 12:11:59] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.215.250"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"80536205-fd33-44b6-a902-8773db7f349f","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 20:20:11] ERROR: Form 563 > MailChimp API error: 1 Missing API key. 
    
    [2018-08-02 20:43:44] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.73.81"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"55e5a2c8-5195-46fd-8009-c3a13b0d7ca2","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]} 
    
    [2018-08-02 20:57:53] ERROR: Form 563 > MailChimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.  
    
    - ADDRESS : Please enter a complete address 
    
    Request: PUT https://us2.api.mailchimp.com/3.0/lists/d1384740e9/members/3cba3b9daf2b8fdbb9b3eb4f0c5aaabf - {"email_address":"zsas**********@ho*****.com","interests":{},"merge_fields":{"ADDRESS":{"addr1":"","city":"","state":"","zip":"19118"},"FNAME":"Danielle","LNAME":"Jowdy"},"status":"pending","email_type":"html","ip_signup":"173.152.73.81"} 
    
    Response: 400 Bad Request - {"type":"https://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid Resource","status":400,"detail":"Your merge fields were invalid.","instance":"002acebc-0358-4f16-b835-b1583d44973f","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]}

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Which mailchimp plugin are you using?

    Thread Starter zsas

    (@zsas)

    Hi There — I had been using “MailChimp for WordPress”, but then found a much simpler tutorial for the “MailChimp List Subscribe Form” plug-in. When I disconnected the former and created a form with the latter, email sign-ups were finally accepted! My only issue is that forms from “MailChimp List Subscribe” plug-in look pretty simple and it doesn’t offer a sign-up confirmation on the site. Once you hit “submit” it takes you right back to the page with the sign-up form, so you don’t know whether your sign-up was successful until you see the confirmation in your email. I’d also like to add some more required fields, but I’m not sure if the plug-in allows it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Merge Fields Invalid for Mail Chimp Form’ is closed to new replies.