<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/jp/ui/ContentDefault.master" Inherits="BasePage" Title="" %> <%@ Register Assembly="RSSBus.Engine" Namespace="RSSBus" TagPrefix="cc1" %> Xero: HTTP 503 Rate Limit Exceeded.
 

Xero: HTTP 503 Rate Limit Exceeded.

What does this mean?

公開日: 3/27/2020    最終更新日: 3/27/2020


Full error: oauth_problem=rate limit exceeded&oauth_problem_advice=please wait before retrying the xero api The Xero API has usage limitations the CData Drivers may encounter.

Note that Xero has two kinds of API rate limiting:

  1. Minute Limit: 60 calls in a rolling 60 second window.
  2. Daily Limit: 5000 calls in a rolling 24 hour window.

The most common issue encountered is the 60 requests/min rate limit. More information regarding this is available here:
https://developer.xero.com/documentation/auth-and-limits/xero-api-limits

We have added some functionality to minimize disruption due to the Xero API rate limit. When the minute rate limit is reached, CData Drivers will wait and then retry. This functionality is embedded into CData Drivers, and you can control these settings by adding the following in your connection string: RetryWaitTime={TIME_IN_MILLIS}; Other='MaximumRequestRetries={INT}'

Where:

  • RetryWaitTime controls how long it waits to try again (default value is 10000 milliseconds - 10 seconds)
  • MaximumRequestRetries controls the number of retries (default value is 4)

  • 本記事に関するご意見、ご質問は弊社サポートチーム support@cdata.co.jp までご連絡ください。