Ask questions relating to Box here
Recently active
I’ve been trying calling the upload API for box in node.js application and keep getting 415 Unsupported_Media_Type. I gave the correct parent id. Also tried using both parent_id and parent: { ‘id’: ‘12345’} response.status = 415 response.statusText = Unsupported Media Type I also tried "Try this API’ on the developers page and just get ‘An unknown error occured’. When tried to get more details from the browser developer tools then I see that the call just returned as above 415 and unsupported media type message. If I include 'Content-type" header with multipart/form-data then it doesn’t find the file part. What is the wrong with the following code? PS: I do not want to use SDK. var parent = ‘12345’; var token = 'Bearer ’ + accessToken; const url = 'https://upload.box.com/api/2.0/files/content'; const fileData = fs.createReadStream("c:\\Work\\box-development\\CustomerRequest.txt"); let formData = new FormData(); formData.append('attributes', "{"name":"newfile.txt", "parent_id":"123
I have this error (in title) when i use JWTAuth, i think it’s because my enterprise ID is not valid, where can in find it? do i have to be admin in my enterprise to have access to it? When I point at getusers/me i don’t have information on my enterprise, did it mean that i don’t have enterprise?
Hi Support, Application hosted on Box App Centre is a centralized Application that can be installed on multiple Box accounts: What are the API and Rate limits applied to the API calls made by the installed application? Are the rate limits shared per installation or bound to the App Centre app for all installations? Which per month API call plans are applied to each of the installations? Thanks waiting for the response.
We use a workflow to set up the same folder structure under each new main file we add. So it works like Smith, John → Internal → Folder A → External → Folder A So the internal is for team member use, and the external is shared with clients to upload folders into. This structure gets created automatically each time we add a main folder using Box relay workflows. We would like to add the rule so that any file uploaded to Smith/External/Folder A gets copied to Smith/Internal/Folder A, and send a notification to the team. It doesn’t seem like there is a way to generically create those type of triggered rules through the AI, is there a way to do so through the API and SDK?
Trying to apply the following - developer.box.com Suppress Notifications - Box Developer Documentation Explore the Box APIs and SDKs to use for app development, API documentation, developer support resources, and access the Box Developer Console But still getting error 403 Access denied - insufficient permission. Need help with steps described…
Hi, I am completely new to Box so please let me know if I am in the wrong place. I would like to be able to run a Curl command to pull a list of files modified in the last hour from my All Files view and it should look down through child folders. I found this: https://developer.box.com/reference/get-folders-id-items/ which is nearly there but it needs a Token. And when I look for how to create a token I see https://developer.box.com/guides/authentication/tokens/access-tokens/ but the example there dont show the -d values. I suspect I am on the wrong trail. Can What is the easiest way to create a token that I can use? Thanks
I am trying to retrieve the Folder ID based on the path of the folder using Microsoft Power Automate. I don’t see a Power Automate Action that accomplishes this. I’m not a developer so I am looking for a simple way to retrieve this information using the Box API. Any ideas?
Hi Box Developer Community! My company is looking to engage a freelance developer to assist with an API integration between Box and our Salesforce CRM, as well as uploading files to Box via API. Our question is where to find developers that have experience with the Box API and are available for a short term project like ours. LinkedIn is our usual source but is not good at searching for experience with a particular software like Box. A colleague suggested Fiverr as a possible source for this specialized talent. Any ideas from this Box Dev community would be greatly appreciated. Thanks!
Can the Memberspace create account functionality duplicate with Box, so when users create a memberspace account on my website they also have created a Box account/login? Then when they click on the file request link on my website or a shared linked on my website they will be automatically redirected to Box and they will know its the same log in to use as memberspace (or will still be logged in via the redirect) This will allow my customers to freely upload, edit, view etc Documents that are specifically for them (hosted on Box) but only accessible through a Memberspace login.
Hello, this is Yane. My boss instructed me to use the BOX API to create a folder under a specific employee’s folder, and to create an application to check the contents of the folder. Is there any setting required to check the contents of a specific employee’s folder instead of the contents of the service account? Or should I just code in the API? Can you tell me please. I know that I can get the items in the service account folder by running the following python code. items = client.folder(folder_id=‘22222’).get_items() for items in items: print(f’{item.type.capitalize()} {item.id} is named “{item.name}”')
Please enable it to use metadata queries. Metadata query is not currently available and the following error occurs. too_many_instances - Too many instances, and no supporting index available Can it be enabled?
Hello, this is Yane. Could you tell me about ① and ② below regarding the number of API calls? please. ①If the number of API calls exceeds the limit of 50000 times/month of the contracted plan (Business Plus), will it be impossible to call the API? Or is it possible to use it after charging? ②Also, from which screen should I check the number of API calls?
Kindly I need to know how to save errors report coming from CLI bulk command to identify which entries that didn’t succeed How I can save these entries? Entry 130 ( id=351859192851 template-key=recordRetentionClassificationCreationDateTrigger data=retentionCode=PMDS-007 | Clinical Manufacturing and Distribution as-user=3875303392 ) failed with error: Unexpected API Response [400 Bad Request | 2papqzhh552766yi.0906f287fbb26895fb5fe968f7ebe8bbf] bad_request - Request contains invalid parameters. Entry 131 ( id=351859035675 template-key=recordRetentionClassificationCreationDateTrigger data=retentionCode=PMDS-007 | Clinical Manufacturing and Distribution as-user=3875303392 ) failed with error: Unexpected API Response [400 Bad Request | ea3opchh5527i4t7.014cfae7169598b3ae2af37e3bb7afeb1] bad_request - Request contains invalid parameters.
Hi Team, The latest Box CLI v3.9.1 doesn’t recognize the file or folder id in CSV files, does anyone encounter the same issue.
Is there any way to generate AUTHORIZATION_CODE command line or its required manual browser integration all the time?
Hello, this is Yane I created a folder using the BOX API. However, I can’t find the folder created in all files on the browser. You can find the created folder by searching the folder with BOX API. Why can’t I see the folder I created in all files on my browser? code: from boxsdk import Client from boxsdk import CCGAuth # Arguments fetched from the BOX management screen CLIENT_ID = ‘aaaaaaaaaaaaaa’ CLIENT_SECRET = ‘dddddddddd’ # client secret code’ ENTERPRISE_ID = ‘cccccccccccccc’ auth = CCGAuth( client_id=CLIENT_ID, client_secret=CLIENT_SECRET, enterprise_id=ENTERPRISE_ID ) client = Client(auth) print(f’Id of the authenticated user is: {client.user().get().id}‘) subfolder = client.folder(‘0’).create_subfolder(‘My Stuff’) print(f’Created subfolder with ID {subfolder.id}’) list items in folder items = client.folder(folder_id=‘0’).get_items() for items in items: print(f’{item.type.capitalize()} , {item.name}"') result: Id of the authenticated user is: 27822023285 All Files Folder , My St
While testing the API request for updating a phone number using the endpoint https://api.box.com/2.0/users/{=[NODE_INPUT]} , \we discovered an unexpected issue. After making a PUT request to the specified endpoint, we have not yet received a response. We are still waiting for its response.
I have requested for enablement of API. But it is still in pending state.
Hello, Are there any endpoints via REST API or SDK for access to Box Relay and Box Canvas? I’ve seen the REST API for workflows, but it seems pretty limited. I’m interested more in admin reporting, like how many workflows are in use, how often they’re triggered, who’s triggering them, etc. With Canvas, I’m interested in similar stats as Relay. Any ideas are welcome. Thanks.
Hi there! Do you use UI Elements? If so, we would like to talk to you! Your feedback will be incredibly helpful to the Product team and will help influence the future of UI Elements. Please sign up here to talk to the Box team
I am using this java code to download the file BoxFile file = new BoxFile(api, “1233071276329”); BoxFile.Info info = file.getInfo(); FileOutputStream stream = new FileOutputStream(info.getName()); file.download(stream); stream.close(); but I am getting this {“error”:“unauthorized_client”,“error_description”:“The "box_subject_type" value is unauthorized for this client_id”} could anyone please help me.
Hi There I am creating a wordpress site, where my students will be able to upload files on individual topics. File request features allows me, where I can create individual links / folder for specific topics Now the issue is that, they have to add their name, email addresses (i know you can remove it) again. Will it be possible to integrate this with WordPress username or profile, so that they don’t have to add their details again? I am happy to pay if someone can help me. Thanks
Hello all, In celebration of our new Community home, we are doing a contest. Whoever is in the top 3 of the August Leaderboard at the end of the month will get Boxdev swag! All you have to do to earn points is interact with the community. Posts, replies, and correct answers all earn major points! So really, have fun, enjoy the community, and get to know your fellow developers, and you might just end up with a T-shirt or hat at the end of the month!
Hi Support, I was looking for an API call to list all items in a folder including files inside the children and sub-children folders. I checked the https://developer.box.com/reference/get-folders-id-items/ API call, but it lists only files and folders inside that exact folder rather than child folders. I am looking forward to the community response.
Have used the upload API endpoint, and it works in the unity editor, but once build to webgl, the same API shows error 403 forbidden error. looking for a solution. thanks in advance
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.