dkadia
- Total activity 28
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 7
Activity overview
Latest activity by dkadia-
dkadia created a post,
Can i put a limit on number of file uploads per day in box folder?
AnsweredHi, We have created box folders and shared them with the internal team members to upload files. We want to put a limit on each folder so that no one can upload more than a specific number of files...
-
dkadia created a post,
How to read content of a file as string using python
I am trying to read the content of a pdf file as string using the below code contentInFile = client.file(file_id = 'fileID').content().decode(encoding='utf-8', errors='ignore')But i am still getti...
-
dkadia created a post,
How to get file size using Python Box API
AnsweredHi, To get the file size, i am using the parameter sizefor files in folder_1: if files.type != 'folder': print(files.size)But i am getting an error saying AttributeError: 'File' objec...
-
dkadia created a post,
Error While reading files from a box folder using JWT method in python
AnsweredHi, Below code for reading files from the box folder was working for me giving me a list of all the files with their file ID items = client.folder(folder_id='folder_id').get_items(limit=100, offs...
-
dkadia commented,
Thanks for the reply. I have downloaded the .JSON file for public/private key pair from box developer console gave the path to it in my code as shown above. What wrong can go with it. I haven't ch...
-
dkadia created a post,
Error while using JWT Oauth with Python
Hi, using the resources provided, now i am getting following error. Can you please let me know what i am doing wrong and how to fix it. Error - ValueError: Could not deserialize key data.Codefro...
-
dkadia commented,
Hi, using the resources provided, now i am getting following error. Can you please let me know what i am doing wrong and how to fix it. Error - ValueError: Could not deserialize key data.Codefro...
-
dkadia created a post,
How to completely automate getting the access token and refresh token using OAuth for Python
I was able to generate the access token and refresh token but i have to manually click on the auth_url to grant the access to box API to get the auth code. Below is my Python code. from boxsdk im...
-
dkadia created a post,
How to upload a new version of the file with the new name
I want to upload a new version of a file but with the new file name. My filename has date on it. example - box file - test_6/30/2018. I have a file on my local with filename test_7/6/2018. How can...
-
dkadia commented,
The code worked when i changed my Exception class from BoxAPIException to Exception.