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..
http://debug.datatables.net/iwihit

Appreciate any help!

Replies

  • allanallan Posts: 63,577Questions: 1Answers: 10,483 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 `" "` ?!

    Allan
This discussion has been closed.