Retry strategies

To save resources, consider adapting to error conditions when polling query endpoints such as Book status, or with long-running download endpoints such as Analytics (JSON) and Analytics (Excel).

This strategy mitigates the kind of transient network fluctuations that can cause HTTP Status code errors. These intermittent interruptions are often the result of minor network hiccups. Although the interruptions are most likely small, they can still cause disruptions to your integration components.

To guarantee data extraction:

  • Wrap all invocations in the appropriate error handler.
  • Implement a retry strategy for your HTTP calls with a reasonable back-off period. This ensures a high rate of consistent and successful API calls as the system usually fixes itself within a couple of retries.