Skip to main content
Question

How to give an app access to a folder?

  • May 22, 2025
  • 2 replies
  • 68 views

Forum|alt.badge.img

I 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'}]},

2 replies

Forum|alt.badge.img

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


Forum|alt.badge.img

This solved the problem; I was able to add the service account email address as an uploader to the folder. Thanks Peter!