A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
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.
Since it’s been a week now and still no response from sales, does anyone know the cost of going over the API call limit. We used rsync which wasn’t configured correctly so 1.5m calls later we are trying to get an answer to if we are billed for this or not?
I clicked the check box for signature groups but it gives me the error when trying to send to be signed. "User is missing permissions: sign_recipient_groups" Also is there a limit to the number of requests a month? Free tier Also can free tier use the API to sign stuff?
API
Our plan allows for 50k API calls per month. If we go over that 50k (within the same month), how do we know what we'll be charged per call?
Hi everyone, I am looking for a way to programmatically apply a custom watermark into a given file. I see the /files/{file_id}/watermark API endpoint, however the current docs only show a ‘default’ option for the imprint parameter. Has anyone found a way to insert a custom watermark string into a file via API? Thanks in advance!
I need some help with the Box AI integration that pops up for each file I preview in my Box folders.(Sorry in advance for any inaccurate language. I’m an end user biologist, and information technology is largely beyond me.)I’m not going to use this integration. Full stop. Period. Putting aside the ethical and environmental concerns that I have about generative AI, I do not trust the application to be accurate with my information. I work in research, so information in the documents that I generate are still likely speculative and/or unproven and the information that is available might not be peer reviewed or validated.That being said, I find it incredibly annoying that the first thing that happens every time I preview a document is I’m prompted to start a conversation with Box AI. Is there a way to disable this integration on the users side? It’s galling that I’m being prompted again and again to use a tool that I think will be actively detrimental to my work and ability to utilize Box.
HiI am using React 18 (TSX) for my UI application. I want to integrate Box Content Explorer into my application.
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.