Xero - beautiful accounting software

Xero Developer Help Center

Xero Developer Community

Community > SDKs >

Java API XeroMinuteRateLimitException

Started by Eric Sawler -   in SDKs

The API docs state that:
"Each API response you receive will include the X-DayLimit-Remaining, X-MinLimit-Remaining and X-AppMinLimit-Remaining headers telling you the number of remaining against each limit."
Using the Java API to createInvoices, how do I access the API response?

I am occationally seeing XeroMinuteRateLimitException, but I need to know where to find the warnings so I know to limit the rate.
Please could you try asking this on StackOverflow as that is the best place for coding advice. https://stackoverflow.com/questions/tagged/xero-api?sort=votes

Sally C (Community Manager)