jQuery getJSON timeout issue with Yahoo API
I'm using Yahoo Boss Search API to pull some related keywords for LSI indexing in my blog posts. However, I'm getting what appears to be no response on certain queries (mesothelioma and tobacco to name a few). Most queries return data immediately, some seem to get stuck.

My code is below. Does yahooapis return an error response if something goes wrong?

What do they return if there is an error condition?

	jQuery.getJSON("http://boss.yahooapis.com/ysearch/web/v1/Mesothelioma?"
			+"appid=myAppID"
			+"&lang=en"
			+"&format=json"
			+"&count=50"
			+"&view=keyterms"
			+"&callback=?",
			function (data) {
				// if no error, do something, else gracefully exit
			});	
jQuery getJSON timeout issue with Yahoo API
===

I'm using Yahoo Boss Search API to pull some related keywords for LSI indexing in my blog posts. However, I'm getting what appears to be no response on certain queries (mesothelioma and tobacco to name a few). Most queries return data immediately, some seem to get stuck.

My code is below. Does yahooapis return an error response if something goes wrong?

What do they return if there is an error condition?

	jQuery.getJSON("http://boss.yahooapis.com/ysearch/web/v1/Mesothelioma?"
			+"appid=myAppID"
			+"&lang=en"
			+"&format=json"
			+"&count=50"
			+"&view=keyterms"
			+"&callback=?",
			function (data) {
				// if no error, do something, else gracefully exit
			});	