Message: Access denied - insufficient permission for client.users(user_type='all')
I am using JWTAuth. I am authenticating just fine as I can successfully run
client = Client(config)
groups = client.get_groups()
for group in groups:
print('Group "{0}" has ID "{1}"'.format(group.name, group.id))
However When I try to get user info I get
boxsdk.exception.BoxAPIException: Message: Access denied - insufficient permission
Status: 403
Code: access_denied_insufficient_permissions
I am copying code directly from the sdk docs
users = client.users(user_type='all')
for user in users:
print('{0} (User ID: {1})'.format(user.name, user.id))
I have tried changing user_type to 'managed' and that returns nothing.
Please advise.
サインインしてコメントを残してください。
コメント
1件のコメント