A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
oauth.get_authorization_url returns url that returns a 302 errorThe url starts with https://account.box.com/login/mfa?redirectUrl
I realize this is probably the wrong forum. And I am sure I am overlooking something simple - but I am having an issue with new users view of folders within Box. I haven’t had this problem in the 2+ years we have been using Box and I have spent more time than I care to admit trying to figure it out. For the last two years my existing users will navigate to the folders in Box via the path - All Files>Salesforce Root Folder>Object Folder>Record Folder. All collaboration is granted via the Box for Salesforce integration. They don’t have collaboration rights granted to anything but the selected Record Folders - but they are housed in the above tree and makes their All Files page much cleaner.The issue is that my recent new users (last 2 months) are not getting this same tree. Instead it is All Files>Record Folder. And results in a cluttered mess on their All Files page. Ultimately they can still get the folders and files they need to do their job - but the user experience
Hello,I am working on an integration between kintone and Box. When using a Box Starter account to create a shared link from kintone for internal use, I encountered the following error:{"type":"error","status":403,"code":"forbidden","context_info":{"errors":[{"reason":"invalid_parameter","name":"access","message":"Invalid value '1'. The item does not allow this access option."}]},"help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Forbidden","request_id":"h7yusxhze4s1svcd"}The issue does not occur when the access is set to 'open', but it appears when the access is set to 'company'.Could anyone help me understand the cause of this issue and how to resolve it?Thank you for your help!Best regards,Marie
I would like to clarify the API call limitations when using the CDATA JDBC driver. Specifically:1. Are there any restrictions on the number of API calls that can be made using this driver?2. It was mentioned on the Box website that Integration Partner API calls are not subject to usage charges. Can you confirm whether API calls made through the CDATA Box JDBC driver are also exempt from counting towards our client’s limit?Additionally, if API calls made through the CDATA JDBC driver are chargeable, could you provide details on:1. The cost structure once the API limit is exceeded.2. Whether the Business Plus plan (which includes 50,000 API calls per month) covers these API calls, or if they are treated separately.We understand that the final decision on API call charges rests with Box, but we would appreciate any clarification you can provide to ensure proper planning.
Is it possible to import information to documents in BOX via a metadata template using a CSV file? Or is it possible to add metadata to documents in BOX using a CSV file as custom metadata? And how to do that? What I want to do is to use a CSV file to add individual metadata to a large number of documents at once.I will need to use metadata templates from the UI and manually enter values for each attribute. Instead of doing that, I want to use a CSV file to apply them all at once and save time.Currently, a test metadata template has been created. I understand that it is possible to export metadata information.Extract metadata - Box Developer Documentation
Hi,I have multiple Co-Admin accounts, and each has created their own files and folders. However, I do not have an existing Admin account with access to all content. To resolve this, I created a new Admin account, and my goal is to have a single account that can access all files and folders across the organization.In the Admin Console → Content Management, I can see all users' data. However, when I use the Box API endpoint:https://api.box.com/2.0/folders/0/items the API response only returns the files and folders that the Admin account has direct access to, rather than all content from all users.Is there any way to retrieve all data across all users without explicitly adding the Admin account as a collaborator to each folder?Thanks!
Is it possible to retrieve the names of all folders and files from a folder, including everything inside its subfolders, via the API?
Hello,I am trying to upload a document but am receiving error 400 (API upload did not contain a file part).I have to use an application called 4D to submit the http request using the following code… $boundary:=Generate UUID $crlf:="\r\n" $bodyPartTxt:="" $bodyPartTxt:=$bodyPartTxt+"--"+$boundary+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Disposition: form-data; name=\"attributes\""+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Type: application/json"+$crlf+$crlf $bodyPartTxt:=$bodyPartTxt+$attributesText+$crlf $bodyPartTxt:=$bodyPartTxt+"--"+$boundary+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Disposition: form-data; name=\"file\"; filename=\""+$docName+"\""+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Type: text/plain"+$crlf $bodyPartTxt:=$bodyPartTxt+"Some text."+$crlf $bodyPartTxt:=$bodyPartTxt+"--"+$boundary+"--" ARRAY TEXT(aHeaderNames; 0) ARRAY TEXT(aHeaderValues; 0) APPEND TO ARRAY(aHeaderNames; "author
We are looking to interact with millions of files. We have noticed on the box site that Enterprise business plan has a limit of 100,000 API calls per month. Can this rate be increased? If so, what can it be increased to?
I have set up an application. I have specified the authentication method as OAuth 2.0 with JSON Web Tokens (Server Authentication) I have specified the app access level to App + Enterprise AccessI have valid oauth2 credentials. I have the following application scopes enabled.1- Read all files and folders store in Box Access to content is further restricted by the user' permission and Access Token used 2- Write all files and folders store in Box Necessary to download files and folders. Access to content is further restricted by the users' permission and Access Token used. Read access is required when Write access is selected. 4- Manage Users 5- Manage Groups 6- Manage retention policies for use with the governance add-on7- Manage enterprise properties for use with the event stream, enterprise's attributes, and device pins. App + Enterprise Access is required to use this scope. Manage enterprise properties for use with the event stream, enterprise's attributes, and device pins. App
Hello, new member here. I have a question concerning the connection to Salesforce.I asked the Admin of our account to make my account a co-admin with all the rights to connect Box to Salesforce but the admin is getting an error that indicated nothing. Just Impossible to modify user.Does anyone have a Lead or a Box contact I can get help from ?Thanks
Hello,I have had a script working for a while and recently I started getting errors.Example:box storage-policies:assign 1111111 22222222Errorbox : Unexpected API Response [403 Forbidden | 0c905f030dd35551650c37d06ecdc251d.0c905f030dd35551650c37d06ecdc251d] forbidden - Purchase validation failed.I’m not sure why this started happening. I’m about to go through setup again in hopes it will fix it.
In this article, learn how to recursively upload files to Box using Python, while taking advantage of Box API features such as pre-flight check, upload, update content, and chunked uploader. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/how-to-recursively-upload-a-folder-to-box-using-python-446dd5ec6305?source=rss----a995c24848a3---4
Hi Everyone,Is there any behavior change in Get Token functionality recently? We are not able to get any token from Box.Regards
Hi,I’ve been going around in circles for the last hour and a half trying to figure out how to use a Limited Access App on a free account. Is this even possible? I’ve seen various posts from a year ago saying this feature had been “temporally” disabled, is it still “temporally” disabled? I’m up to the point of trying to authorize the app but none of the menus as described in this tutorial are visible for me. Cheers,Michael
We want to avoid getting charged when moving some files from box to sharepoint. apparently there is the API issue where we have to manually download one file by one file vs using boxs ability to download and move but we wanted to make sure we knew the exact difference and options before we spent hours moving files for an important peoject.
I'm having problems with API requests to my Box.com account. I'm trying to read the contents of an XML file in Box, but I'm getting a 403 error code. Is this because I only have a starter account on Box?
Hi,I have a question regarding OAuth authentication in Box. Currently, we are using the Splunk Add-on for Box, and I am trying to configure the account using OAuth to collect file and folder metadata.I have configured an account using OAuth in the add-on to collect file and folder metadata. I have created a Client ID and Client Secret from one Box account and added these credentials in the Splunk Add-on for authentication. During the authentication process, the add-on redirects me to Box to authorize the request.However, I noticed that if I log in with a different Box account during authorization, the add-on still allows me to save the account without verifying whether the provided Client ID belongs to the logged-in Box account. As a result, the metadata retrieved for files and folders corresponds to the account used during authentication rather than the account from which the Client ID and Client Secret were generated.I would like to confirm whether this behavior is expected. Shouldn'
HiAs a service I need to scan files on box of Users. Since I will exceed the API limit under the quota given by Box as per purchase. My Client informed me the api calls made form Apps in Box integration are free. So, Is it true that If I make API calls from the clinet-id and client-secret that of APP published by us and added by our client will be free. Will this not be counted in quota.Since plan supports 100K API calls and can I make >100K API calls free.
What is the command to increase the storage quota for the Box platform account.How do we connect to other platform accounts from your own app.
Hello ! I'm currently developing in java and I can't get a folder created by another user, via API.I'm also using JWT authentication and have followed this documentation: https://developer.box.com/guides/authentication/jwt/with-sdk/Here's my Java class calling the Box APIs public BoxFolder getFolder(String folderId) throws BoxAPIException { return new BoxFolder(boxAPIConnexion.getAPI(), folderId); }However, here's the message returned :com.box.sdk.BoxAPIResponseException: The API returned an error code [404 | iw6ilehyqdmmt4w4.0bb5b98f9358163f0c50785d696f24cca] not_found - Not FoundDo you have any solutions?thanksTranslated with DeepL.com (free version)
Box AI just completed one its largest launches ever. 🚀 Checkout the blog below and find out all the new features available to developers! 📦✅ Box AI Studio API✅ Box AI API support for images, Hubs, and scanned documents✅ Box Doc Gen for Salesforcehttps://medium.com/box-developer-blog/new-box-ai-api-updates-e812b868457d
Using .Net SDK and the C# languageHi AllIt’s First time using this forum and the .Net SDK as well.My manager has asked me to create a prototype proof of concept app to create a signed document from our laptops. The users running the app will have their own Box Accounts.When the user executes the app, it will…Upload a document to their box account. The Box Sign behaviour, [Sign Myself], will activate and the user will fill out their signature. The Signed Doc and Log is created. The Signed Doc and Log is downloaded to the users laptopThe issue is that in order to get Box Sign to activate I Create a Sign Request which requires a Signer, even though the user is whom I want to sign the document and the behaviour is not the same as how it acts in [Sign Myself].What am I missing?Very Rough code below… BoxDeveloperTokenAuth auth = GetTokenAuthorisation();BoxClient client = GetBoxClient(auth);// Upload Filestring fullPath = @"C:\Users\srodney_dev\AppData\Local\BoxTest\TesstingBoxUpload.docx";/
Does Box provide following details via Box API programmatically(https://developer.box.com/reference/) either directly or indirectly as follows,Subscription plan associated with Box account(Business/Business Starter/Business Plus/Enterprise/Enterprise Plus). Opted plan cycle(monthly/annual) and billing details. Box AI credits available and spent at user level and enterprise shared pool level and addition credits assigned in a Box account. (may be similar to the way it's exposed in admin console: https://support.box.com/hc/en-us/articles/34617574060691-Track-AI-usage-in-Admin-Console.)Please share from which Box APIs, these data can be fetched from. Thanks!
Hi,We have a need to upload documents to one of our clients. The uploads will be done via a command line Windows app written in C# using the Box .NET SDK. We have this already in place for 2 other clients which I’ve done by creating a Platform App for each client. Each Platform App uses the OAuth 2.0 with Client Credentials Grant (Client Id and Client Secret) for authentication. Following this pattern I created a Platform App for this new client and it’s awaiting Box Authorization. However, I can’t find my notes on what needs to be done by the client once the Platform App is approved. I believe something needs to be done with the Service Account ID once the App is approved, and they need also need to provide us with the ID of the folder in which we will be uploading documents to but I don’t remember the steps that were done for the other two clients.Can you provide me with any guidance on what needs to be done and/or point me to the Box documentation that describes this process.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.