I thought I'd document this here to save others trouble.
- SearchObject.setSearchLocation expects path names to be prefixed with the client number.
E.g., 0001/APPS/UC0/AUTOMATED_TESTS/TEST1 - FolderTree.getFolder expects path names without the leading client number.
E.g., /APPS/UC0/AUTOMATED_TESTS/TEST1
As far as I know, SearchObject is not capable of searching across clients, so I do not know why it requires the client number to be included.