StackExchange API key

Posted by user21289 on Stack Overflow See other posts from Stack Overflow or by user21289
Published on 2013-06-25T16:18:54Z Indexed on 2013/06/25 16:21 UTC
Read the original article Hit count: 306

Filed under:
|
|

I am working on a project with the StackExchange API, the problem is at a moment I have this Exception on eclipse console:

java.io.IOException: Server returned HTTP response code: 400 for URL: https://api.stackexchange.com/2.1/questions?order=desc&sort=votes&tagged=OSM&site=stackoverflow
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    atbr.inf.pucrio.sog.StackOverflowAcessor.getQuestionsIds(StackOverflowAcessor.java:41)

After verifying on the browser with the same link, I have this error message:

{"error_id":502,"error_name":"throttle_violation","error_message":"too many requests from this IP, more requests available in 74089 seconds"}

I am wondering if this is dur to the limited numbers of the queries per day, if it is the case, how can I do to have the key? if it is not, how can I do to resolve the problem?

© Stack Overflow or respective owner

Related posts about api

Related posts about key