0
votes

Trying to use Alchemy API and getting the message

 Oct 07, 2015 8:48:44 PM com.ibm.watson.developer_cloud.service.AlchemyService execute
 SEVERE: {"error":"daily-transaction-limit-exceeded","code":429}

Obviously, I have to wait 24h to use it again.

The problem is: is there a way to check when exactly the API will be available again?

UPDATE: it's been more than 24h and I still get this message

2

2 Answers

0
votes

At the moment the service is marked as down. The way to ask for the status or a possible ETA for this service is to send a request to Bluemix Support either through "Go to Bluemix Support" in Bluemix dashboard or by sending a mail to [email protected].

1
votes

Based on the error format, I guess you are using the java-SDK. It will give you the number of transactions as part of the response, please make sure your call doesn't have more than 10.000 transactions. Combined and DataNews calls usually use thousand of transactions.

In order to get the number of transactions you can use:

AlchemyDataNews service = new AlchemyDataNews();
service.setApiKey("<api_key>");

VolumeResult result = service.getVolume("now-7d", "now", "12h");
System.out.println("Transactions: #" + result.getTotalTransactions())
System.out.println(result);

See more examples here.