Not able to view uploaded files in Box dev console

新規投稿

コメント

1件のコメント

  • 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
    コメントアクション パーマリンク

投稿コメントは受け付けていません。