Json Format error

Json Format error

rajulanabelrajulanabel Posts: 1Questions: 0Answers: 0
edited April 2014 in DataTables 1.9
I'm using the basic datatable with Ajax source and keep getting Json format error "DataTables warning (table id = 'example'): DataTables warning: JSON data from server could not be parsed. This is caused by a JSON formatting error."

My JSON is JSONLint validated..

Here is the debug link for your reference..

Appreciate any help!


  • allanallan Posts: 54,909Questions: 1Answers: 8,606 Site admin
    I don't see any JSON in the Ajax response, never mind valid JSON.

    In your debug trace click the 'Tables' tab and scroll down to "Server interaction". It will show you what the server is sending that - very certainly not valid JSON.

    > "sAjaxSource": " "

    Do you really have a web-page which is called just `" "` ?!

This discussion has been closed.