-
Notifications
You must be signed in to change notification settings - Fork 172
Description
We are trying to call xeroClient.accountingApi.getContacts() for a single tenantId and an array of ids. When we supply 52 ids we get a response. When we supply 53 then there is a 404 with message The resource you're looking for cannot be found.
This seems like a strange, arbitrary number and maybe it's to do with payloads internally? The strange thing is that if we supply the same id 52 times it works (only returning one in array), but if we supply the same id 53 times it fails. The response is 404 and not 400 which makes me think this is an accidental side-effect rather than a request validation.
I originally posted this issue and mistakenly thought the client was not handling the response correctly, however further testing revealed what is happening. Realise it's not strictly a node client issue any more but any help would be greatly appreciated.