-
Notifications
You must be signed in to change notification settings - Fork 58
Closed
Description
I believed our current method of filtering contacts would be efficient enough, but our systems have crashed due to the new high volume threshold limits.
Here is our current approach for fetching contact numbers:
contact_numbers = ["A400", "A500", "A600", "A700", ...]
where = "||".join([f'ContactNumber="{contact_number}"' for contact_number in contact_numbers])
contacts = client.get_contacts("", where=where, summary_only=True)However, we’re encountering the following error:
HighVolumeException
Your request is not filtering Contacts efficiently, given the extremely high volume for this organisation. Please check https://developer.xero.com/documentation/api/efficient-data-retrieval for tips on making Contact retrieval more efficient.
Given the volume, it’s too slow and subject to rate limiting to retrieve each row individually.
Is anyone able to suggest an efficient way to retrieve contact information under these constraints? Any insights or recommendations would be greatly appreciated.
Thanks in advance!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels