Getting "Exception in thread "main" java.io.IOException: Server returned HTTP response code: 503 for URL" error when I make multiple calls to Amazon Product Advertising API.
Is the reason overloading of the service? One Possible solution is to use Thread.Sleep(milliseconds) method.
But is there any other more sophisticated solution? Like proxies or something?
Here is the code used to make the connection:
URL amazon = new URL(url);
URLConnection yc = amazon.openConnection();
BufferedReader in = new BufferedReader(
new InputStreamReader(
yc.getInputStream()));
I am using Java!