title: Creating new subscriber validation error using MailChimp API v3.0
body: <p>I've got problem with creating new member in the list using v3 API. I'm sending post request with json data :</p>
  
  <p>url: </p>
  
  <pre><code>https://us10.api.mailchimp.com/3.0/lists/&lt;list-id&gt;/members
  </code></pre>
  
  <p>headers:</p>
  
  <pre><code>   Content-type: application/json
     Authorization: apikey &lt;my-api-key&gt;
  </code></pre>
  
  <p>Json body:</p>
  
  <pre><code>{
    "status": "pending",
    "email_address": "emai@example.com",
    "merge_fields": {
      "FNAME": "John",
      "LNAME": "Smith",
      "REFERRER": "referrer",
      "REFERRAL": "referral"
    }
  }
  </code></pre>
  
  <p>It's based on api docs and tutorials <a href="https://teamtreehouse.com/library/mailchimp-api/mailchimp-api/adding-new-members-to-your-list" rel="nofollow noreferrer">https://teamtreehouse.com/library/mailchimp-api/mailchimp-api/adding-new-members-to-your-list</a> . But every response looks like:</p>
  
  <pre><code>{
    "type": "http://kb.mailchimp.com/api/error-docs/400-invalid-resource",
    "title": "Invalid Resource",
    "status": 400,
    "detail": "Your merge fields were invalid.",
    "instance": "",
    "errors": [
      {
        "field": "FNAME",
        "message": "Please enter a value"
      },
      {
        "field": "LNAME",
        "message": "Please enter a value"
      },
      {
        "field": "REFERRAL",
        "message": "Please enter a value"
      },
      {
        "field": "REFERRER",
        "message": "Please enter a value"
      }
    ]
  }
  </code></pre>
  
  <p>What am I doing wrong? Is it a problem with MailChimp API?</p>