Good day,
my login is successful and I get successfully printed my Box UserID.
However, getting folders or files details. Any advice on how to troubleshoot the code further, please?
============== Code
from boxsdk import JWTAuth, Client
auth = JWTAuth.from_settings_file('C:/Users/User_1/XXXXXXX_YYYYYYY_config.json')
client = Client(auth)
print(client)
#working
service_account = client.user().get()
print('Service Account user ID is {0}'.format(service_account.id))
#not working
folder_id='0'
items = client.folder(folder_id).get_items()
print("Items", items)
=====================
I hope someone can advise.
Thank you.
Kind regards,
Marin