Title: Mailchimp API Error: Bad Request. Invalid Resource.
Last modified: November 6, 2023

---

# Mailchimp API Error: Bad Request. Invalid Resource.

 *  Resolved [zzanna](https://wordpress.org/support/users/zzanna/)
 * (@zzanna)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/mailchimp-api-error-bad-request-invalid-resource/)
 * Hello,
   i tried to solve the problem by myself reading other support request but
   i can’t find a way.The privacy policy checkbox seems to be the problem but i 
   cannot understand how to solve it.Can you help me?
 * Here the log:
 * [2023-11-06 17:12:20] ERROR: Contact Form 7 > Mailchimp API Error: Bad Request.
   Invalid Resource. Your merge fields were invalid.
 * PRIVACY : Value must be one of: Il sottoscritto dichiara di aver letto e di accettare
   l’informativa sulla privacy presente sul sito (not 1)
   Request:POST [https://us16.api.mailchimp.com/3.0/lists/114aee34fd/members](https://us16.api.mailchimp.com/3.0/lists/114aee34fd/members){“
   status”:”pending”,”email_address”:”nico_[@ti](https://wordpress.org/support/users/ti/)_.
   it”,”interests”:{},”merge_fields”:{“COGNOME”:”Zanoli”,”NOME”:”Nicola”,”PRIVACY”:”
   1″},”email_type”:”html”,”ip_signup”:”81.56.67.218″,”tags”:[]}Response:400 Bad
   Request{“type”:”[https://mailchimp.com/developer/marketing/docs/errors/&#8221](https://mailchimp.com/developer/marketing/docs/errors/&#8221);,”
   title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”
   instance”:”2386c2a6-a09f-dca3-27a5-9b7dcaed8a63″,”errors”:[{“field”:”PRIVACY”,”
   message”:”Value must be one of: Il sottoscritto dichiara di aver letto e di accettare
   l\u2019informativa sulla privacy presente sul sito (not 1)”}]}
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmailchimp-api-error-bad-request-invalid-resource%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Contributor [Lap](https://wordpress.org/support/users/lapzor/)
 * (@lapzor)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/mailchimp-api-error-bad-request-invalid-resource/#post-17178725)
 * In Mailchimp (under Audience settings > Field) the field Privacy is set up as
   a select field, only allowing specific value: “Il sottoscritto dichiara di aver
   letto e di accettare l’informativa sulla privacy presente sul sito” 
   but the 
   value being sent in by the form is “1”Either change the checkbox value to conform
   to the allowed value, or change the Mailchimp field settings to allow other values.
   Hope that helps. If you have any questions, please let me know!
 *  Thread Starter [zzanna](https://wordpress.org/support/users/zzanna/)
 * (@zzanna)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/mailchimp-api-error-bad-request-invalid-resource/#post-17180138)
 * Hi Lap,
   thanks for the tip, now it seems to works fine

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

The topic ‘Mailchimp API Error: Bad Request. Invalid Resource.’ is closed to new
replies.

 * ![](https://ps.w.org/mailchimp-for-wp/assets/icon-256x256.png?rev=1224577)
 * [MC4WP: Mailchimp for WordPress](https://wordpress.org/plugins/mailchimp-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailchimp-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailchimp-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailchimp-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailchimp-for-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [zzanna](https://wordpress.org/support/users/zzanna/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/mailchimp-api-error-bad-request-invalid-resource/#post-17180138)
 * Status: resolved