Datatable xhr response truncated
Datatable xhr response truncated
Hello,
One of our applications uses datatables and it loads about 11k elements. It was working fine on production but since last week from time to time we are starting to get errors saying "Invalid JSON response" After checking the response I have noticed when the error is shown the XHR JSON response is incomplete and truncated. This only happens in production. Have any of you encounter this issue before?
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:
Answers
Have you verified that the server is sending a complete response when you see this at the client? Datatables doesn't control the XHR response at the client. If its truncated it happens before reaching the client.
Kevin