新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Retrieving folder details

新規投稿

コメント

1件のコメント

  • Rui Barbosa

    Hi Matthew,

    The most common issue in these situations is that the app is using a service account that can not, by it self, access the content you want.

    This would be consistent with the empty root folder.

    So let me start by asking how is your box application configured, is it oAuth2 (User or Client Authentication), CCG (Client Credentials Grant Server Authentication), or JWT (JSON Web Tokens Server Authentication)?

    If you have your app configured as CCG or JWT, have you submitted it for approval on the Authorization tab on the app configurations in the developer console?

    For example I have a JWT configured app and it looks like this:

    If you haven't done so you need to click review and submit and your administrator must approve it.

    This is not needed for OAuth apps.

    If your app is CCG or JWT it will be using a service account.

    If that is the case, for the service account to access content:

    • the content must be owned by the service account
    • or the content has been explicitly shared with the service account
    • or the service account is impersonating a user who can access the content(aka as-user) 

    Let me know the details, and we'll continue to explore this.

    By the way, what stack are you using, node, python?

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。