Welcome to the new Box Support website. Check out all the details here on what’s changed.

Where did my folder go ??

New post

Comments

3 comments

  • Murtza

     The folder was created in your application's service account root folder. If you are testing with a Box developer account, you can see the folder in the Admin Console within the Content Manager page

     

    To create the folder in your Box account's root folder, you have to specify your account with your user id and the As-User header. Here's how to do that the Python SDK:

     

    user = client.user(user_id='USER_ID')
    
    client.as_user(user).folder(folder_id='0').create_subfolder('FOLDER_NAME')
    
    

     

    0
    Comment actions Permalink
  • Shannon99

    Struggling with the same problem here. I can't go to the 'https://app.box.com/master/content' address to see anything even though I'm an admin (trial account if it helps).

     

    "To create the folder in your Box account's root folder, you have to specify your account with your user id"

    Who's user id? The enterprise user? Where do I get the id?

    0
    Comment actions Permalink
  • Murtza

     You can get a list of user ids from the Get Enterprise Users endpoint. Once you find the user id needed, you would set that as the value of the As-User header.

    0
    Comment actions Permalink

Please sign in to leave a comment.