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

App User not showing any files

New post

Comments

1 comment

  • jcleblanc

    Hi ,

     

    Let me see if I can provide some insight into how to access these folders as a start. I'll add some context / explanations along the way, but without actually seeing the code I'm going to make a few assumptions.

     

    When you go through the JWT auth process, you are technically interacting with the service account for the app, which you can think of as an app user that represents your application. Without being collaborated in on the folders that you're trying to search for, that account will not be able to find the files / folders within another app user account.

     

    To do that, you need to auth as the app user. In doing so, you are now making calls on behalf of that user, as opposed to through the service account. At that point you should be able to find / work with all files / folders in that app user account. 

     

    If you are trying to find folder IDs within the admin account, you can go to your admin account content section, click on the name of the app user in the list, then click through until you reach the folder that you're looking for an ID from. Once the folder is loaded the URL in your browser should look something like https://app.box.com/master/content/2095623952/6309375732/0. That last group of numbers, 6309375732 in this case, will be the folder ID. 

     

    Hope that helps. If not, if you can provide more context / code around where my assumptions above are wrong that should help us dig into the root of the problem. 

     

    Thanks,

    Jon

    0
    Comment actions Permalink

Please sign in to leave a comment.