Link to an OpenData source, follow the examples of the site, while failed!

Link to an OpenData source, follow the examples of the site, while failed!

bewwebbewweb Posts: 5Questions: 3Answers: 0

Please assist me to sort the problems out, thanks in advance. Trying to link to an Open Data source (as specified in the url), and follow the code of examples, while get the "Invalid JSON response". How to resolve the error?
Try to search the proper answer from the Forums, while seemed can not find the similar issue yet.

<Quote>
$(document).ready(function() {
$('#opendata').DataTable( {
"processing": true,
//"serverSide": true,
"ajax": {
"url": "http://data.ntpc.gov.tw/NTPC/od/data/api/DEB37D64-264A-48F3-B3D6-978A98D22C68?$format=json",
"dataType": "jsonp",
"dataSrc": ""},
"columns": [
{ "data": "station" },
{ "data": "location" },
{ "data": "local_drllr_anhour" },
{ "data": "local_tandem_anhour" },
{ "data": "local_lady_anhour" },
{ "data": "tel" }
]
} );
} );
<Unquote>

The error alert message as below:

<Quote>
DataTables warning: table id=opendata - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1
<Unquote>

Bewweb

This discussion has been closed.