It's pretty obvious from that screenshot (if you've messed with web
services before). It's trying to parse json, but "data" is html (not
json with html in it - it's just html). The most common cause of this
is serving json from an endpoint where all the error responses (404,
500, etc) are html, and the js handling the response ignores the code;
or worse, that errors are funneled through an error page which serves
a 200 response code.
So the wrong thing is being passed into jQuery.parseJSON(data). What's
the stacktrace? Have you looked at the content of 'data' to see what
html you were trying to parse? I'm guessing it's going to be an error
page and its contents will be a big clue as to what's wrong here.
-B