I really do not understand why this error occurs and if I load the data someone who can explain to me
That's because the ajax does not respond with a 2xx response code (success). The idea is to debug the ajax url to see what the failure may be ... Anyway, if you are sure that the table is correct and what you want to do at this point is simply hide that message, you can do it like this:
$.fn.dataTable.ext.errMode = 'throw';
Greetings.