Expected behavior
Expect a list of Contacts to be returned, or a helpful error to indicate that the URL was too long and could not be processed
Additional context
I've tested this out both with the SDK and against the API and it appears common to both. Unsure if this is also prevalent on other endpoints. I have tested IDs in the list independently and failure only occurs when the character count exceeds a limit. Limit can be reached/tested granularly by padding with an additional param, e.g. https://api.xero.com/api.xro/2.0/Contacts?IDs=[ids..]&padding=aaa
SDK you're using (please complete the following information): 3.31.0
Describe the bug When calling GET /Contacts with a long list of IDs the response will be
404 The resource you're looking for cannot be found
To Reproduce Steps to reproduce the behavior:
Expected behavior Expect a list of Contacts to be returned, or a helpful error to indicate that the URL was too long and could not be processed
Additional context I've tested this out both with the SDK and against the API and it appears common to both. Unsure if this is also prevalent on other endpoints. I have tested IDs in the list independently and failure only occurs when the character count exceeds a limit. Limit can be reached/tested granularly by padding with an additional param, e.g.
https://api.xero.com/api.xro/2.0/Contacts?IDs=[ids..]&padding=aaa