OdataLink Error Code 9004: Xero imposed a limit of 5000 calls per day on this data file

From OdataLink
(Redirected from HelpID:ODataFeedStatus9004)
Jump to navigation Jump to search

An Error 9004 occurs when more than 5000 calls per day are made to a single Xero organisation file.


This 5000 call limit is imposed by Xero. Once reached, all calls will be rejected for 24 hours.


While we can't force Xero to start returning calls again, we can configure OdataLink Model settings to lessen its impact.


A call returns a Page of data. OdataLink's Model settings has a Default Page Size field. Typically the default page size is 100 Records.

If you increase its value from the default 100 records per page to the maximum^, more records will be downloaded with each call, thus reducing the number of calls.


OdataLink has an inbuilt caching mechanism. If you set a Cut Off Date, all future calls made to historical periods prior to cut-off date will return the cached data rather than sending live calls to Xero, effectively reducing the number of calls.


For instructions on how to apply these settings, see Editing a model's details


Notes

^In Xero, Paginanation is supported by some, but not all, endpoints. Xero Reference.
For a comprehensive list of Xero endpoints that support pagination, please refer to Default Page Size.


Reference

Xero API Limitations

Threshold Limits


Related Topics

OdataLink OData feed error codes
Troubleshooting Guides