Sharing a folder with app

回答済み
新規投稿

コメント

4件のコメント

  • 正式なコメント
    Kourtney

    Hello, 

    Can you share the error message you're receiving when you try to do this?

    Best, 

    Kourtney

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

    Basically it is a 404 error that folder is not found (as my app does not have permission to view it)

    'message': "Invalid value 'd_<removed>'. "
    "'folder' with value 'd_<removed>' "
    'not found',
    'name': 'folder',
    'reason': 'invalid_parameter'}]},

    Ideally Box will allow me to share a folder from the UI will apps (by providing app name or id)

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

    I suspect you're using a JWT authentication, which means that the default token your using is associated with the applications service account. You can confirm this by making a call to the get current user endpoint. 

    You'll need to use a token associated with someone that already has access to the content, or add this user as a collaborator. 

    Unfortunately, you won't be able to view a service account via the UI without access to the admin console, but you can take the email address returned via the get current user call (AutomationUser) and add it via the UI as a collaborator, just as you would with any other user. 

    Hope that helps a bit! 

    Best, 

    Kourtney 

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

    Thanks for your feedback

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

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