Hello,
Thanks for reaching out to us.
Can you please use a text widget and then add our shortcode to it and test?
hello,
I added the shortcode, and now there is another issue. When I entered an email to test it on the website, I get an error message saying “Oops. Something went wrong. Please try again.”
Please advise. Thank you.
Hey @silleecat,
Please go to the “MC4WP > Others” menu in your WordPress admin and share the error log.
Please make sure to remove any sensitive data before sharing the error log.
Hi Harish,
As you requested, below is the error log. From looking at this, I can now see where the problem is. The form on my website has only the option to enter an email and is missing the name field (FNAME) which is included on the Mailchimp list. Can you please tell me how do I add the name field in the MC4WP sign up? Do you believe this would resolve my issue? Or do you have another solution?
Thank you very much in advance…
[2019-12-26 08:35:06] ERROR: Form 9044 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
– FNAME : Please enter a value
Request: POST https://us6.api.mailchimp.com/3.0/lists/052ca0cabc/members – {“status”:”pending”,”email_address”:””,”interests”:{},”merge_fields”:{},”email_type”:”html”,”ip_signup”:”,”tags”:[]}
Response: 400 Bad Request – {“type”:”http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:””,”errors”:[{“field”:”FNAME”,”message”:”Please enter a value”}]}
[2019-12-26 08:58:49] ERROR: Form 9044 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
– FNAME : Please enter a value
Request: POST https://us6.api.mailchimp.com/3.0/lists/members – {“status”:”pending”,”email_address”:””,”interests”:{},”merge_fields”:{},”email_type”:”html”,”ip_signup”:”,”tags”:[]}
Response: 400 Bad Request – {“type”:”http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:””,”errors”:[{“field”:”FNAME”,”message”:”Please enter a value”}]}
@silleecat,
There are 2 ways to resolve this.
1. You can go to “MC4WP > Forms” and add the “FNAME” field to the form by clicking on the specific button above the form code.
2. If the above field is not important, you can edit the list settings in your MailChimp Audience/List to set the “FNAME” field as not required.
I hope that answers your query. Let us know if you have any further questions.