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

Sharing a folder with app

Answered
New post

Comments

4 comments

  • Official comment
    Kourtney

    Hello, 

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

    Best, 

    Kourtney

    Comment actions Permalink
  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink
  • Lior

    Thanks for your feedback

    0
    Comment actions Permalink

Please sign in to leave a comment.