• Resolved rafxix

    (@rafxix)


    ho integrato Contact form 7 con mailchimp. Ma chi compila il form e il checkbox non viene iscritto nella lista mailchip. questo è l’errore:

    ERROR: Contact Form 7 > Mailchimp API Error: Bad Request. Invalid Resource. Your merge fields were invalid.
    - NOME : Please enter a value
    Request:
    POST https://us6.api.mailchimp.com/3.0/lists/dae45f7af2/members
    {"status":"subscribed","email_address":"rafm*****@gm***.com","interests":{},"merge_fields":{},"email_type":"html","ip_signup":"93.55.84.241","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":"4d339fb0-652a-8223-e3f6-4e177f42a14e","errors":[{"field":"NOME","message":"Please enter a value"}]}

    Ieri funzionava. come posso risolvere?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Lap

    (@lapzor)

    The field NOME is setup as a required field, but it’s not included in the form/integration. Under your audience settings in Mailchimp uncheck the box for that field to be required.

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

    Thread Starter rafxix

    (@rafxix)

    I campi impostati come obbligatori sono gli stessi sia su wp che su mailchimp. tuttavia comunque non vengono registrati i nuovi contatti

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @rafxix,

    Can you please share a link where the form is placed?

    Thread Starter rafxix

    (@rafxix)

    Plugin Contributor Lap

    (@lapzor)

    I don’t see a field with the name NOME there, let alone mc4wp-NOME, only a field with the name “your-firstname”

    Please make sure the field naming corresponds with the Mailchimp field names and add mc4wp- as prefix to the field name to be sure our plugin can pick up the field.

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

    Thread Starter rafxix

    (@rafxix)

    Ancora non funziona.

    [2021-06-08 11:26:51] ERROR: Contact Form 7 > Mailchimp API Error: Bad Request. Invalid Resource. Your merge fields were invalid.
    - NAME : Please enter a value
    Request:
    POST https://us6.api.mailchimp.com/3.0/lists/dae45f7af2/members
    {"status":"subscribed","email_address":"amat********@ou*****.com","interests":{},"merge_fields":{},"email_type":"html","ip_signup":"93.55.84.241","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":"ce804053-88d9-7d66-84b9-4bfdb5f60b88","errors":[{"field":"NAME","message":"Please enter a value"}]}

    Questo il mio form:
    <div class=”row”>
    <div class=”small-12 columns”>
    <label>Nome *</label> [text* mc4wp-NAME class:full]
    </div>

    Il campo in mailchimp è: *|NAME|* or *|MERGE1|*

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @rafxixm

    I checked the form and the field name looks correct. To debug this further, can you please create a test page and add a form created using our plugin to it? Once this is done, please share a link to that page so we can test it.

    Thread Starter rafxix

    (@rafxix)

    Ho già creato un form con il plug-in MC4WP e sembra funzionare correttamente.
    Solo i form creati con contact form 7 non funzionano.
    https://www.insursoft.it/

    Plugin Contributor Lap

    (@lapzor)

    I assume because the field NAME is set as required and not included in the CF7 forms.

    I recommend you do not set the NAME field as required, but another option is to add it to your CF7 form, add the mc4wp- prefix to the field followed by the MC field name, so mc4wp-NAME in this case.

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

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘ERROR: Contact Form 7 > Mailchimp API Error’ is closed to new replies.