Error when submitting form
-
I have successfully connected my wordpress site to Mailchimp via the MC4WP plugin with an API key. I can see my custom fields and other mailchimp account info.
I created a form using MC4WP and deployed it to a test page. It looks fine but won’t submit. It generates the following error. I’ve tried multiple times, recreated from scratch, commented out all fields but the name and email, and I always get the same error. Any ideas on why this doesn’t work.
Note: I’m able to successfully submit contacts using an embedded mailchimp form at https://electangelabirney.com/endorse-angela/. But I like the form-building experience better in MC4WP and it looks much better on mobile with no mods vs the mailchimp-created form.POST https://us21.api.mailchimp.com/3.0/lists/5c8e09bb16/members
{“status”:”subscribed”,”email_address”:”gsch***@ho*****.com”,”interests”:{},”merge_fields”:{“FNAME”:”G”,”LNAME”:”S”,”MMERGE6″:”Hope this works”,”PHONE”:”5551212″,”TITLE”:”Ambassador”},”email_type”:”html”,”ip_signup”:”73.59.104.9″,”tags”:[“endorser2023″,”webform”]}
Response:
400 Bad Request
{“type”:”https://mailchimp.com/developer/marketing/docs/errors/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:”6415dca7-dd48-f650-eca5-b7886d81b4c9″,”errors”:[{“field”:”ENDTYPE”,”message”:”Please enter a value”}]}
The page I need help with: [log in to see the link]
- The topic ‘Error when submitting form’ is closed to new replies.