I was getting this error while sending an array of column names to jQuery DataTables. The array needs to be an array of objects, not just an array of names. link to columns
BAD
columns: ["Column1", "Column2"]
GOOD
columns:[{title: "Column1"}, {title: "Column2"}]