title: Uncaught TypeError: Cannot read property 'length' of undefined datatables
body: <p>I want to implement datatables but i am getting the following error: </p>
  
  <pre><code>jquery.dataTables.min.js:48 Uncaught TypeError: Cannot read property 'length' of undefined
  at jquery.dataTables.min.js:48
  at i (jquery.dataTables.min.js:35)
  at Object.success (jquery.dataTables.min.js:35)
  at u (jquery-3.3.1.min.js:2)
  at Object.fireWith [as resolveWith] (jquery-3.3.1.min.js:2)
  at k (jquery-3.3.1.min.js:2)
  at XMLHttpRequest.&lt;anonymous&gt; (jquery-3.3.1.min.js:2)
  </code></pre>
  
  <p>My implementation looks like this:</p>
  
  <pre><code>var oTable2 = $('#MyDataTable2').show().DataTable({
    "ajax": {
        "url": 'http://mvc/ComplaintHandlerSquadFind',                         
        "type": "GET",
        "dataSrc": "Members",
        "data": { Code : $('#input_1').val() }
    },
    "columns": [
        {"data": "Code"},
        { "data": "Name" },
        { "data": "Email" }
            ]
  })
  </code></pre>
  
  <p>This is the JSON getting loaded into the datatable:</p>
  
  <pre><code>[{"Members":[{"Code":"001","Name":"Bay","Email":"d1@d.com"},{"Code":"00458","Name":"Beng","Email":"d2@d.com"}]}]
  </code></pre>