The information and solution given in this article applies to all the 4 errors mentioned below.

1. The API rate limit for your organisation/application pairing has been exceeded.

2. An error occurred in Xero. Check the API Status page Xero Ltd - API Status  for current service status. Contact the API support team at api@xero.com for more assistance.

3. The API returned a non-successful status code that is not recognised.

4. An unhandled error with the Xero API. Contact the Xero API team if problems persist.

Our app syncs the data from Shopify to Xero using Xero's API and there are certain limits from Xero's end to the number of API calls any app can make against a particular Xero organization. This is the limitation from Xero.

If the rate limit is exceeded then Xero gives an error and does not allow to sync orders in Xero. The orders can be resynced when new limits to Xero become available. The rate limits in Xero are set on the basis of minute or per day so the orders with the API error can be resynced after sometime or the next day.

Navigate to Order List >> Unsynced orders page and click on "Resync All Orders".