Box CLI permissions error
AnsweredI am a co-admin with all boxes checked under "Edit User Access Permissions" but when I run the command:
box folders list-items 0 --save --as-user ***number removed for privacy***0 I get the following error:
Bearer realm="Service", error="insufficient_scope", error_description="The request requires higher privileges than
provided by the access token."
I got the user id after getting users via > box users list
I have been trying everything I could think of but no luck getting a list of folders for a user.
-
The error you're seeing probably means that the app you set up in the Box Developer Console does not have the correct scopes and permissions selected. Please double-check the Configuration page in the Developer Console and verify that the app has both "Read all files and folders stored in Box" and "Perform Actions as Users" turned on. You may need to re-authorize the app for changes to take effect.
Please sign in to leave a comment.
Comments
2 comments