Error: Cannot move document to shared private folder
Cannot move document to shared private on first-use folder.
The context in which you are running the script will have a bearing on whether this will work or not, as will the ACL right that controls the creation of private views and folders: "Create personal folders/views". Private views/folders do not work on Web, so you might need to try a different approach if you are attempting to use this approach on the Web.