title: Input JSON is invalid. Request body must be valid JSON if content type is application/json
body: <p>I am passing the following <code>JSON object</code> to my AJAX call</p>
  
  <pre><code>var contact = {
     "accessToken": "xxx-xxx-xxx-xxx-xxx",
     "email": "test@test.com",
     "customFields": {
        "custom7": {"value": "test rep"},
        "custom8": {"value": "test title"},
        "custom9": {"value": "test@localdev.com"}
     }
  }
  </code></pre>
  
  <p>And this is my AJAX call:</p>
  
  <pre><code>$.ajax({
     type: 'POST',
     url: 'https://api.mydomain.com/v1/contacts/save',
     data: contact,
     dataType: 'json',
     success: function(data) {
       alert(data.errors);
     }
  });
  </code></pre>
  
  <p><code>data.errors</code> shows the following:</p>
  
  <blockquote>
    <p>Input JSON is invalid.  Request body must be valid JSON if content
    type is application/json</p>
  </blockquote>
  
  <p>I checked above JSON object with <a href="http://jsonlint.com" rel="nofollow noreferrer">jsonlint.com</a> and it was validated.
  I don't understand where I am doing wrong!</p>