I am getting a JSON parsing error for the below url. Looks like there may be a formatting error in the JSON response. Can anyone confirm? I am getting successfull responses for other searches that do not include this specific event.
UPDATE: AssetId [dc428faf-1d2e-465b-a3fa-0f2c43b5ae0a] appears to have an opening "{" after the "meta": tag and no closing "}" causing a JSON parsing error. Could someone at Active please confirm. Thanks
active Admin
–
14 years ago
Hey Tim,
I ran this query through http://jsonformatter.curiousconcept.com/ (with this URL, http://api.amp.active.com/search?k=Morris+County+Multisport&f=activities&l=07652&r=25&v=json&num=10&page=1&m=meta:startDate:daterange:today..06/30/2011+meta:channel=Triathlon&api_key=wuhmn9ye94xn3xnteudxsavw), and it's coming back as valid.
Note, I had to change "v=json" from "v=xml" in the example you provided.
I am getting a JSON parsing error for the below url. Looks like there may be a formatting error in the JSON response. Can anyone confirm? I am getting successfull responses for other searches that do not include this specific event.
http://api.amp.active.com/search?k=Morris+County+Multisport&f=activities&l=07652&r=25&v=xml&num=10&page=1&m=meta:startDate:daterange:today..06/30/2011+meta:channel=Triathlon&api_key=wuhmn9ye94xn3xnteudxsavw
(I replaced the key with the one from the sample url on the Documentation page)
Message edited by Tim 14 years ago
Tags
Tim – 14 years ago
UPDATE: AssetId [dc428faf-1d2e-465b-a3fa-0f2c43b5ae0a] appears to have an opening "{" after the "meta": tag and no closing "}" causing a JSON parsing error. Could someone at Active please confirm. Thanks
active Admin – 14 years ago
Hey Tim,
I ran this query through http://jsonformatter.curiousconcept.com/ (with this URL, http://api.amp.active.com/search?k=Morris+County+Multisport&f=activities&l=07652&r=25&v=json&num=10&page=1&m=meta:startDate:daterange:today..06/30/2011+meta:channel=Triathlon&api_key=wuhmn9ye94xn3xnteudxsavw), and it's coming back as valid.
Note, I had to change "v=json" from "v=xml" in the example you provided.
Can you confirm?