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

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.