0

Error 403 using api.search.yahoo.com

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.

by
2 Replies
  • 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.
    0
  • Happy day ! It is system software error. Thanks.
    0

Recent Posts

in Java Development