question

manojpande avatar image
manojpande asked Lee Tickett answered

Getting randomly {"message":"429 Too Many Requests"} exception for Clover rest apis

Greetings
We are getting below exceptions sometime. Below exception comes randomly any Clover Rest api.

{"message":"429 Too Many Requests"}2018-10-30 03:26:41,283 ERROR

com.sun.jersey.api.client.ClientHandlerException: java.io.IOException: stream is closed2018-10-30 03:26:41,284 ERROR [stderr] (default task-7) com.sun.jersey.api.client.ClientHandlerException: java.io.IOException: stream is closed2018-10-30 03:26:41,284 ERROR [stderr] (default task-7) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:644)2018-10-30 03:26:41,284 ERROR [stderr] (default task-7) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586)


Please suggest how to overcome this exception.

Thanks
REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Lee Tickett avatar image
Lee Tickett answered
Are you hitting the API quite frequently?
Have you read the following; https://medium.com/clover-platform-blog/conquering...
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community