• Resolved Nikolaiii

    (@nikolaiii)


    We have two newsletter forms, one for each language as you suggested to do in another support request. The one for the main language is working great but the second form for the second language keeps returning an error:

    Oops. Something went wrong. Please try again later.

    I checked the MC4WP logs and here is what’s in there, not sure what is wrong though… I tried regenerating the API key and renewing the lists but it didn’t fix the issue.

    `[2021-04-13 16:28:56] ERROR: Form 3134 > Mailchimp API error: 400 Bad Request. Invalid Resource. Your merge fields were invalid.
    – MMERGE3 : Please enter a value
    Request:
    POST https://us10.api.mailchimp.com/3.0/lists/7148cf6cc7/members
    {“status”:”pending”,”email_address”:”nico***@aa****.ca”,”interests”:{},”merge_fields”:{},”email_type”:”html”,”ip_signup”:”205.234.48.115″,”tags”:[]}
    Response:
    400 Bad Request
    {“type”:”https://mailchimp.com/developer/marketing/docs/errors/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:”fa953e30-98b7-48ff-a522-0fe489744952″,”errors”:[{“field”:”MMERGE3″,”message”:”Please enter a value”}]}`

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Nikolaiii

    (@nikolaiii)

    I tried the checkbox integrating with Contact Form 7 to subscribe an email to a list and it’s not working either.

    `[2021-04-13 16:35:52] ERROR: Contact Form 7 > Mailchimp API Error: Bad Request. Invalid Resource. Your merge fields were invalid.
    – MMERGE3 : Please enter a value
    Request:
    POST https://us10.api.mailchimp.com/3.0/lists/7148cf6cc7/members
    {“status”:”pending”,”email_address”:”nico********@gm***.com”,”interests”:{},”merge_fields”:{“FNAME”:”Nicolas”,”LNAME”:”D”},”email_type”:”html”,”ip_signup”:”205.234.48.115″,”tags”:[]}
    Response:
    400 Bad Request
    {“type”:”https://mailchimp.com/developer/marketing/docs/errors/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:”163b5938-2834-4d9d-976a-a5f7e105a0be”,”errors”:[{“field”:”MMERGE3″,”message”:”Please enter a value”}]}`

    • This reply was modified 3 years, 11 months ago by Nikolaiii.
    Plugin Contributor Lap

    (@lapzor)

    The error means that the field MMERGE3 is set to be required, but the field is not added to the form.

    Either change that field to not be required or add it to the form as required field.

    `Please see https://kb.mc4wp.com/fix-the-oops-something-went-wrong-error/

    Hope that helps. If you have any questions, please let me know!

    Thread Starter Nikolaiii

    (@nikolaiii)

    Thank you @lapzor! I have adjusted the settings of the required fields in Mailchimp and it’s now working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error on a form submission: Oops etc….’ is closed to new replies.