You are not logged in.
Pages: 1
We are in the process of migrating from IMS to Chorus. Unfortunately not all the API we currently use is available in Chorus REST API so we are forced to make JSON API calls. When making Files.Move call against our Chorus server we are receiving the following error.
Is Files.Move not a valid action?
Thanks,
John
Offline
Hi John,
INVALID_TYPE means that at least one of the GUIDs you supplied was for an object that can't be used in this call (but that it exists and is accessible to your user account).
Specifically, the most likely issue would be providing a containerId that relates to a Collection rather than a Folder - since Collections hold links to files, not the files themselves, you can't 'Move' a file into one. (You could call Files.AddToCollection, if that was what you were trying to achieve, but probably you should create a Folder and then use the ID of that instead).
Dominic
Offline
Pages: 1