Error 403 using api.search.yahoo.com

Michele8 Jun 2010 5:46 AM
I've wrote a Java code to read number of results for a given query. I've ovviously used my AppID.
In the middle of an elaboration, my algorithm throws an exception:

Exception in thread "main" java.io.IOException: Server returned HTTP response code: 403 for URL: http://api.search.yahoo.com/WebSearchServi...&output=xml

I don't know the reason.
I've also create another project, with another AppID, and also using this I've the same exception.

Can you help me?
blink.gif

PS. If you want I can quote my Java code. But the identical code, before it produced results correctly.
Glenn Rosenbrock9 Jun 2010 10:39 AM
QUOTE (Michele @ Jun 8 2010, 04:46 AM) <{POST_SNAPBACK}>
[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.
Deep25 Jun 2010 1:07 AM
Happy day ! It is system software error. Thanks.