DataTables warning: table id=kt_datatable - Ajax error. For more information about this error, please see http://datatables.net/tn/7 code example
Example: DataTables warning: table id=dataTable - Ajax error
This can be done using for no more error:
$.fn.dataTable.ext.errMode = 'throw';