All things API and SDK related
Recently active
Hi team, I’m trying to set up box app with client_credentials grant_type. I have followed these steps: https://developer.box.com/guides/authentication/client-credentials/client-credentials-setup/I have setup an app with App + Enterprise Access, and have provided all the permission including the all files and folders access permissions.Now I am trying to create a client, and fetch folders and files data with enterprise box_subject_type, but it gives empty list. If I try the same with user box_subject_id, then it works and gives all the files and folders from root folder. But as I understand, this will give give admin level to the client(or the user with which I have authenticated). Is there any way to fetch all files and folders using enterprise access, and which do not need user id?I have tried by collaborating a folder with the service user which was created for my app, but with this it only gives access to the shared folder, and couldn’t find a way to share all the folders and files
When you open the first file in Box, the file_id is set correctly to the ID of the first file opened, but if you then open a second file, the file_id may remain the ID of the first file. If you then reopen the second file, the file_id will be correctly updated to the ID of the second file, but please check to see if this is an issue on the BOX side.
Recently, we deployed Box Enterprise Advanced and have been building it into our own core technology stack. We’ve partnered with Box to explore solution development using Box Enterprise Advanced and the Box AI Studio feature set. We’ve also partnered with mxHERO to provide intelligent email capabilities to our customers. This collaboration will lead to the creation of numerous agent candidates for industries tailored to meet the needs of users. Initially, we focused on developing a basic Intelligent Project Management Agent—a common use case that addresses the challenges project teams face. The result is a lightweight assistant experience when using Box AI, facilitating seamless interaction with content and related communications. The agent has content, context and can provide value to any given project manager. This experience can be further extended through APIs to integrate other relevant tools such as external data sources, LLMs and SLMs, Voice, Vision, and XR technologies. Read th
I am creating a workflow from our website. I have set up the necessary Developer tokens and IDs and submitted for authorisation but it has been over a day and no response. I am unable to move forward with the integration without the authorisation.Any assistance would be much appreciated. This is the message I am getting from my account!
Problem StatementThe /events API, when used with the stream_type parameter set to admin_logs or admin_logs_streaming, returns limited metadata in the source field — typically including only basic attributes like id, name, parent, and owned_by.However, when the same endpoint is used without explicitly setting the stream_type parameter (which defaults to all), the source field includes significantly more detailed information. This includes attributes like path_collection, file_version, timestamps (created_at, modified_at, etc.), and ownership metadata. Proposed Enhancement We request that the /events API be enhanced to return a more complete source object structure across all stream_type values — especially for admin_logs and admin_logs_streaming. Alternative Suggestion If a uniform response structure cannot be guaranteed across all stream types, we propose introducing an optional API query parameter that allows clients to explicitly request extended metadata in the response (e.g., field
I have a UWP application that has a file picker and it launches PickerHost.exe when I want to attach a file from Box.When I attach a single file from the Box node in the windows file explorer, it works fine. But when I try to attach 2 or more files, it doesn’t work saying there’s insufficient memoryThe thing is, if I go to directly to the folder location of Box (ie. C:\Users\Username\Box) and select multiple files from there then it works fine. But not when I select from the Box node in the file explorer.I don’t face this issue on other cloud storage applications, only on Box.Wondering if this is a known issue and this line in the Box Drive beta for Windows announcement would address it? Folder redirection to seamlessly sync root folders from their local hard drive directly into Box, providing a more integrated experience (coming later in this beta)
Where can I get the material &/or recording data by used the below workshop?
Hi, I hope I'm not asking what I've already asked in another post, but I couldn't find it.I'm a bit lost regarding the best option for implementing automatic access to the Box API from a backend program (I only want to download a file every so often).Since it will be automated, I also need the token generation to be automated (if applicable), but using OAuth2.0 makes things more complicated because the refresh_token is dynamic, the auth code to generate it is also dynamic, and I haven't found a way to generate each one through code or CURLs.I have a way to store client_id, secret_id because they don't change, but I can't save dynamic values, I would need to generate them all in session, at the moment.For the account I want to implement it is enterprise.Thanks
Hi there! I am using Box.Sdk.Get and getting timeouts of 100 seconds on the client.Upload.UploadFileAsync. How do I increase the timeout value? Thank you!
Hello,An Excel document layout changes from portrait to landscape and becomes 2 pages when uploaded to box sign. is there any way to keep the original layout of the document?
Hi, we are using the AI API to extract structured metadata. The format of the response from the Box API keeps changing, sometimes multiple times a day. Sometimes it has the below structure, which shows the key name, the prompt, the type and value. Answer: {fields: [ { key: financialYear, prompt: What financial year, if any, does this document relate to? Financial years run from 1 July to 30 June. Return the year only (for example the 2023/24 financial year would return 2024), type: string, value: 2024 } ]} And other times it simply returns the below:Answer: {financialYear: 2024} Every time it changes we are forced to update how the response is treated. Why would this keep changing? Can we force it to stay with the second example? Thanks.
Using .NET sdk and OAuth2 we give login to box application in our embedded browser. But the box cdn js files ( showing syntax errors) are not getting loaded in our embedded browser. Maybe due to updated features the files are not getting loaded. Can you help us here?
I’ve integrated the Box Java SDK (v4.11.1) into my Spring Boot application:<dependency> <groupId>com.box</groupId> <artifactId>box-java-sdk</artifactId> <version>4.11.1</version> </dependency> All required configuration properties (OAuth2 credentials, PEM key, client ID/secret, etc.) have been supplied, but the application fails to start with the following exception:… 33 common frames omitted Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.box.sdk.BoxAPIConnection]: Factory method ‘boxAPIConnection’ threw exception; nested exception is java.lang.NullPointerException: Cannot invoke “org.bouncycastle.openssl.PEMKeyPair.getPrivateKeyInfo()” because “keyPair” is null at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185) at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:653) … 47 c
Hi,We’re under the business subscription.Via the Web UI, we have the option to ask a question or summarize a file using AI.Trying to use the ask API (/ai/ask) via postman, I get back status: 403, code: insufficient_scope and message: The request requires higher privileges than provided by the access token.In the scopes (Scopes - Box Developer Documentation), there is a scope for AI APIs, ai.readwrite, though in my box integration setup it is not listed as an option to be added to the app scope being used. For a test, even after enabling all scopes, its the same.If I try to add this scope via the postman scope config options (see screenshot below), and regenerate the Access Token, than get “Authentication failed” with “Error: invalid_scope”, probably as it does not correlated with the scopes for the app integration (client_id and secret) being used.Any idea how this scope can be added? Is that maybe restricted for the business subscription? If so, what is the min subscription needed for
Hi everyone,I'm exploring options to allow users to edit .docx documents directly within my application using Box.While researching, I came across the ui.openWith() method in the UI Elements documentation, but I see it's now marked as deprecated. Before I go further, I wanted to ask: What is the recommended alternative to ui.openWith() for opening and editing Word documents? Does the ContentPreview UI Element support editing, or is it strictly for viewing? Are there other supported ways to integrate an editing experience for .docx files stored in Box? I'd love to hear what the best practices are for this type of functionality.Thanks in advance!
Tengo un problema complejo. ¿A Soporte técnico de Box se le puede enviar la duda y pantallazos de alguna manera? Al entrar en Open Box.com, me salen las carpetas azules compartidas de una en una, correcto, no duplicadas, pero si entro desde la pestaña de arriba y abro el desplegable (carpetas azules compartidas en pequeño), entonces si salen duplicadas.Otro problema que veo, es que en las carpetas "grandes azules", (no las del desplegable), entro y a parte de otras carpetas azules compartidas, en mi versión web hay más archivos pdf, jpg, excels, etc. que al abrir la misma carpeta en el desplegable, no salen y en las de la persona con quien las comparto, tampoco salen.
Question came up on our roundtable with Federal Contractors yesterday.
The file is still not uploading via the API. The response returned was '401 Unauthorized'.It worked fine approximately 2 hours ago.
Hi team, Is there any API supported by box to get historical user details (deleted users, any updates done in users details). I’m currently using List Enterprise User endpoint, which gives me list of all the users present at the moment, but I need historical users details.The API I’m currently using is: https://developer.box.com/reference/get-users/
hellois there a way round the 1 hour developer token?I am just trying to batch download files as a one off but keep hitting the 1 hour limit CheersLuke
I have created an application of JWT type in Box Developer console. But i dont see any option to approve/enable the application.My role is admin appearntly but i am still not allowed to approve it. I was invited to join the Box by another user.
Before signing up for a business account, I would like to verify the behavior of Box API features—particularly user creation/deletion and folder creation/deletion. Is there any way to do this?
I am currently working on a use case that involves retrieving and analysing documents stored in Box using Watson Discovery. The objective is to enable a conversational chatbot that can extract and provide specific information from these documents based on user queries. To achieve this, Watson Discovery needs to successfully crawl, index, and process the content stored in Box.While I have successfully authenticated and connected my Box account with Watson Discovery, I am encountering the following error:"There was an error in creating your source crawl: the source configuration for this collection defines no content to crawl."Despite ensuring that all necessary permissions have been granted in the Box Developer Console and verifying that the Box folder contains multiple documents, Watson Discovery is not retrieving any content.When i asked few of my colleagues they told to contact box support because related issues was solved through box support.. but i am unable to find any related blo
Have created folder with Fil Request collection ‘webpage’ that include some meta data fields. Want to use this so clients can upload documents securely via link on email autosignature per user. Trying to create Box flow (or using power automate) to send email notification to user when new file is uploaded, but want to include more info than what the generic notification sends.Something like:A new file, {{File Name}}, was uploaded to {{Folder Name}} by {{name}}.Uploaded by: {{Uploader Email}} (if available)Comment: {{Metadata: Comments}} but can’t get this to work with the variable entries as I currently built them (ie {{File Name}}. Does anyone know the formatting Box requires?
I’ve been working with the python box-sdk-gen. I’m specifically using the create_zip_download method of the ZipDownloadsManager. This creates two links. One for downloading you files and one for the status. The status link does not work. The status link has the domain of “api.box.com”. I checked that status of that domain and it appears to be down for everyone for more than a week. Someone needs to do something about this.
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.