Python SDK - Getting "Authorization Failed" for Listing File's Tasks
Attempting to get the list of tasks that I know for certain are associated with a file in Box. Getting a 404 with message Authorization Failed'. My automation user's ID has been added as an "Editor" of a parent folder that's in this file's hierarchy. What must be done to grant my automation user the ability to list the tasks associated with this file a 'la:
tasks = client.file(file_id='123456789').get_tasks()
for task in tasks:
print('Task ID is {0} and the type is {1}'.format(task.id, task.type))
投稿コメントは受け付けていません。
コメント
0件のコメント