Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Transfer owned folders

Answered
New post

Comments

3 comments

  • cbetta

    Hi , I am not too sure what's going on here but I'm investigating. I just want to check that the access token represents a user with admin privileges, and that the target user ID is a user in your enterprise?

    0
    Comment actions Permalink
  • szinski

    Got it working. Posting the solution to help others.

     

    I had to enable the 'Read and write all files and folders stored in Box' and 'Manage Users' scopes, then grab a new token pair and retried my script, all is working now.

     

    0
    Comment actions Permalink
  • cbetta

     thank you so much. I've pushed an update to our reference docs to explicitly call out that you need the `Read and write all files and folders stored in Box` scope to transfer files

    0
    Comment actions Permalink

Please sign in to leave a comment.