-
Recently active
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!
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
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?
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!
Hi We are integrating box with our custom build software from where user uploads file. We are using Service Account to upload.It works fine and we can upload file. However we cannot see those files from box.com when login as admin or other user.Is there a way admin can view Service account uploaded files from box.com? If so how? ThanksMahatab
I receive the error when trying to add a group to a collaboration :403 - “The request requires higher privileges than provided by the access token”. But when I try to add a user, using the user's email, it works fine with the same token. Note: I’m using a Client/User Authentication App, and although the app does not have the “manage_groups” scope, it has “root_readwrite” (which, according to the docs, should be enough to create collaborations).Am I missing something?Request body:{ "item": { "type": "file", "id": "xxxx" }, "accessible_by": { "type": "group", "id": "xxxxx" }, "role": "viewer" } Thank you.
We need to transfer files in blocks of a maximum of 5 MB.This is a proxy limitation (payload max of 5 Mo) We also need to transmit files ranging from 5 to 20 MB in blocks. Do you have a method or capability that allows us to transfer a file of less than 20 MB in blocks of up to 5 MB?
Hello,I'm trying to download big files in chunks using the API, but no matter how I hit the API, if it's by using de c# SDK or by a plain HTTP Client, always is returning me no more than 3600 bytes per call.This is not the entire code, but a summarizes what I'm doing. Here I'm trying to download first chunk of 99999 bytes. but It's returning just around 3600.var config = new BoxConfigBuilder(..);var session = new OAuthSession(..);var boxClient = new BoxClient(config, session);var folderId = 1234;var items = await boxClient.FoldersManager.GetFolderItemsAsync(folderId, int.MaxValue, fields: new List<string> { "size", "sha1", "name" });var item = items.First(); //--> Unique 10GB itemvar url = await boxClient.FilesManager.GetDownloadUriAsync(item.Id);using HttpClient client = new HttpClient();using var boxStream = await client.GetStreamAsync(url);Memory<byte> buffer = new Memory<byte>(new byte[99999]);bytesRead = await boxStream.ReadAsync(buffer.ToArray(), 0, buffer.L
We are currently working on Deploying Microsoft Sentinel, and I’d like to get the data connector for Box working, Microsoft’s documentation is sparse and vague (feigning surprise!). In combining both their docs and Box.com, I think the issue is what is needed for the JSON input parameters, nothing I’ve seen so far has given me specifics. Has anyone been able to implement this successfully? Thanks! Mike
While trying to get the folder using get foldes APIhttps://api.box.com/2.0/folders/313364836563 I am getting following response{ "type": "error", "status": 404, "code": "not_found", "help_url": "http://developers.box.com/docs/#errors", "message": "Not Found", "request_id": "1cpjxci01o6wztvh"}
We’re currently using the /folders/trash/items endpoint to get trashed items. When I recover them, I use the GET files and GET folder endpoint to sync my files in Box. It appears the modified_at date doesn’t update when a file/folder is restored thus the file/folder never gets restored as undeleted in my system.Is there another way to retrieve files/folders that have been restored from the trash?
What's in the roadmap for optimizing the Box API's + documentation for "vibe coders" to quickly build with Box?
Hello Sir/Madam,We would like to set which file extensions should be allowed on upload to box folders. We are sending app user tokens to browsers. The browser passes the token to Box UI Elements, i.e. the Uploader element. We can customize JS scripts to only allow a list of file extensions. However, is it possible to do it through box settings so that they can’t use the token maliciously to upload files with unauthorized extensions? I can see that in Governance / Content Security / Policies we can set which file extensions are forbidden, but I’m searching for the opposite: setting which file extensions should be allowed.Does box support this feature, or is there a workaround (through collaboration settings for example)? Thank you for your time,Sincerely,Antonin Marxer Content security
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.