How to give an app access to a folder?
AnsweredI have created a JWT app and subsequently made a folder. Why can't I edit this folder through the app if I made it? I know the app makes a service account that doesn't have the same rights as the user accounts, so how do I add the app as an editor? I tried inviting the service account email but it didn't work. Here is the error message I'm getting specifically:
'context_info': {'errors': [{'message': "Invalid value 'd_167568748124'. " "'parent' with value 'd_167568748124' " 'not found', 'name': 'parent', 'reason': 'invalid_parameter'}]},
-
Hi
You would need to add the service account with a user that already has permissions to the folder. Eg. your own user. You can do it via API using the 'as-user' header and collaboration endpoint or just copy the service account user login and use the Share button in the box.com webapp.
Rgds,
Peter Christensen, Platform Solutions Engineer, Box
Post is closed for comments.
Comments
2 comments