[color="#FF0000"]Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: [url="http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=XXX&query=keyboard&results=0&output=xml"]
PS. If you want I can quote my Java code. But the identical code, before it produced results correctly.
I get random 403 errors from another api where there has not been any code changes for months so it is probably an issue with Yahoo's setup than your code.