• Resolved jmldesign

    (@jmldesign)


    I’m getting errors from the address merge fields:

    [2022-02-14 22:31:36] ERROR: Contact Form 7 > Mailchimp API Error: Bad Request. Invalid Resource. Your merge fields were invalid.
    - ADDRESS : Please enter a complete address
    Request:
    PATCH https://us20.api.mailchimp.com/3.0/lists/876dc54f5d/members/7fe68bbeb960720f5ebead16ae1e4d55
    {"status":"subscribed","email_address":"kevi*@jm*******.com","interests":{"e514d8aa43":false,"002e664428":false,"c06d8c9917":false,"cf7d2b28f8":false},"merge_fields":{"ADDRESS":{"addr1":"98 test Dr","city":"","state":"","zip":""},"FNAME":"Kevin","LNAME":"Test Maines","PHONE":"13015401166","ZIP":"32034"},"email_type":"html","ip_signup":"108.64.71.158","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":"f2ac4e6f-4904-36f0-31ef-463213bbe3c0","errors":[{"field":"ADDRESS","message":"Please enter a complete address"}]}

    I’m using this for the field in CF7:
    [text* mc4wp-ADDRESS placeholder “Address”]

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lap

    (@lapzor)

    Mailchimp has very strict validation for the field of the type “address”.
    It needs to be a full address, with zip, state and country.

    I recommend using normal text fields for the parts of the address that you want to capture, instead of using the field of type address.

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

Viewing 1 replies (of 1 total)

The topic ‘CF7 Integration ERROR: Please enter a complete address’ is closed to new replies.