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

Not able to view uploaded files in Box dev console

New post

Comments

1 comment

  • Peter Christensen

    Hi Nick

    I assume 'boxforrejectorders' is the name of your app and also service account for the app. However your this part of your code suggests you are connecting as a user with a specific user ID. The file you have uploaded should be under that user's root folder. You can always check in code with BoxUser.getCurrentUser(api) - see https://github.com/box/box-java-sdk/blob/main/doc/users.md#get-the-current-users-information

    BoxDeveloperEditionAPIConnection api = BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(userID,
                        clientID, clientSecret, encryptionPref, accessTokenCache); 

    Best regards,
    Peter Christensen, Platform Solutions Engineer, Box

    0
    Comment actions Permalink

Post is closed for comments.