• Resolved Gianluca

    (@karnhack)


    I have this problem and users cannot register. How can I solve it?
    Thanks

    [2019-03-13 13:36:17] ERROR: Form 1102 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
    - MMERGE1 : Please enter a value
    Request: PUT https://us18.api.mailchimp.com/3.0/lists/aa19b6d941/members/1110b609a51164e617398eba9e28cece - {"email_address":"hero***@gm***.com","interests":{},"merge_fields":{},"status":"pending","email_type":"html","ip_signup":"79.23.118.70","tags":[]}
    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":"6467e000-12af-4db4-bd04-96979381dfa5","errors":[{"field":"MMERGE1","message":"Please enter a value"}]}

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    Thanks for reaching out to us.

    As the error suggests the data being passed to the “MMERGE1” field is invalid. I noticed that you have copied the code from MailChimp.com hosted form into our form. I would recommend deleting everything in the form and adding the fields again by using the buttons provided on top of our form at “MailChimp for WP > Forms”.

    I hope that answers your query. Let us know if you have any further questions.

    Thread Starter Gianluca

    (@karnhack)

    Hi,
    I have simplified the form:

    <p>
        <label>Indirizzo Email (obbligatorio)</label>
        <input type="email" name="EMAIL" required="">
    </p>
    <p>
        <center><label>
            <input name="AGREE_TO_TERMS" type="checkbox" value="1" required=""> <a href="https://www.enotecadadavid.it/cookie-policy/" target="_blank">Ho letto e accetto i termini e le condizioni</a>
          </label></center>
    </p>
    <center><p>
        <input type="submit" value="Iscriviti">
      </p></center>
    <p>
    

    I always get the same error. The MMERGE1 field should no longer exist:

    [2019-03-18 12:07:13] ERROR: Form 1102 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
    - MMERGE1 : Please enter a value
    Request: PUT https://us18.api.mailchimp.com/3.0/lists/aa19b6d941/members/1110b609a51164e617398eba9e28cece - {"email_address":"hero***@gm***.com","interests":{},"merge_fields":{},"status":"pending","email_type":"html","ip_signup":"00.00.000.000","tags":[]}
    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":"279c877b-d7df-4a39-8955-f0102ae6d800","errors":[{"field":"MMERGE1","message":"Please enter a value"}]}
    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hello,

    Can you please go to your MailChimp.com account, and share a screenshot of the list fields?

    Thread Starter Gianluca

    (@karnhack)

    Sorry, I only understood now. I deleted the field on the MailChimp.com website and now everything works. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mailchimp API error: 400 Bad Request.’ is closed to new replies.