-
Recently active
I am getting below error when I have concurrent request to have a Box Token. {“error”:“invalid_grant”,“error_description”:“Please check the ‘jti’ claim. A unique ‘jti’ value is required.”} Java Box SDK - 2.32.0
Hi there! Our app uses box-ui-elements and we want to start using the latest annotations API functionality with text highlight, drawing, mentioning and more. We already updated box-ui-elements to the latest version, but it didn’t give expected result, annotations were still not highlighted So I have a question: Does box-ui-elements already use the latest annotations API functionality or integration is still in progress? Thank you in advance!
This is the place to discuss the Box API Postman collections. Let us know if you found a bug, saw an inconsistency with the documentations or even have suggestions on how to improve the collection.
Hi folks, Hi folks, thinking that you use the Box Postman Collection to interact with our API, I wanted to share this with you: With the objective to make our API Postman collection more flexible, I’ve been working on it so that it supports all of Box authentication types Developer Token, OAuth, CCG, and JWT. The idea is to detect the type of environment selected, and adjust the token refresh accordingly. I’ve also created a few helper methods to create these environments. I would very much like you take it for a spin, and send some feedback. You can fork this collection from here. You can leave your feedback by replying to this post. And of course ping me with any questions. Cheers
We are excited to introduce the latest generation (currently in Beta) of Box Python SDK, designed to elevate the developer experience and streamline your integration with the Box Content Cloud. With this release, you’ll have access to: Full API Support: The new generation of Box SDKs empowers developers with complete coverage of the Box API ecosystem. You can now access all the latest features and functionalities offered by Box, allowing you to build even more sophisticated and feature-rich applications. Rapid API Updates: Say goodbye to waiting for new Box APIs to be incorporated into the SDK. With our new auto-generation development approach, we can now add new Box APIs to the SDK at a much faster pace (in a matter of days). This means you can leverage the most up-to-date features in your applications without delay. Embedded Documentation: We understand that easy access to information is crucial for developers. With our new approach, we have included comprehensive documentation for
Hello, I’m just getting started with Box CLI and need a way to batch remove hundreds of external users that have tens of thousands of collaborations within an enterprise. We can remove one at a time from the legacy admin dashboard, but I’d like to do this in batch via Box CLI, as advised by Box Support. I can’t find any documentation on external users specifically, only on the individual collaborations of managed users. Thoughts? -Vlad Weinstein
We are excited to introduce the latest generation (currently in Beta) of Box TypeScript SDK, designed to elevate the developer experience and streamline your integration with the Box Content Cloud. With this SDK, you’ll have access to: Full API Support: The new generation of Box SDKs empowers developers with complete coverage of the Box API ecosystem. You can now access all the latest features and functionalities offered by Box, allowing you to build even more sophisticated and feature-rich applications. Rapid API Updates: Say goodbye to waiting for new Box APIs to be incorporated into the SDK. With our new auto-generation development approach, we can now add new Box APIs to the SDK at a much faster pace (in a matter of days). This means you can leverage the most up-to-date features in your applications without delay. Embedded Documentation: We understand that easy access to information is crucial for developers. With our new approach, we have included comprehensive documentation for
Looking to get advice on how to use content explorer and uploader in salesforce experience cloud as i seen in jan roundtable
I am having some issues with an Apache Groovy script. When users run this script it sometimes returns this error - it fails at the line def subFolder = parentFolder.createFolder(subFolderName).getResource() BoxAPIResponseException: The API returned an error code [404 | m75vwdhfthirxg8m.0155c36fdf223f6693c60b71343f0bfc6] not_found - Not Found Exception chain: ScriptException: com.box.sdk.BoxAPIResponseException: The API returned an error code [404 | m75vwdhfthirxg8m.0155c36fdf223f6693c60b71343f0bfc6] not_found - Not Found …caused by: BoxAPIResponseException: The API returned an error code [404 | m75vwdhfthirxg8m.0155c36fdf223f6693c60b71343f0bfc6] not_found - Not Found Some users have found clearing their cache allows them to then run this script The box folder has AutomationUser_1282163_2jhq1tTUma@boxdevedition.com as an Editor The file names are unique names and do not contain illegal characters The parent folder exists Here is the relevant code import com.box.sdk.BoxFolder def today =
I was testing out bun instead of npm or node and I couldn’t get the same behavior: what I mean by that is that running the app with bun I was not able authenticate, but I was with node (see below example) https://app.dashcam.io/replay/64ff8108923289006233ea16 Any idea what might be causing that?
As per Box documentation, the clearCache function of Content Explorer should force reload the items. But when I call the same function, I don’t see any reload of items in Content Explorer widget. I am using Content Explorer version 17.1.0. /** Clears out the internal in-memory cache for the content explorer forcing re-load of items via the API. @public @return {void} */ contentExplorer.clearCache();
We are referring the source code present in the following link: github.com box/box-java-sdk/blob/v4.4.0/doc/files.md#download-a-file Files ===== File objects represent individual files in Box. They can be used to download a file's contents, upload new versions, and perform other common file operations (move, copy, delete, etc.). <!-- START doctoc generated TOC please keep comment here to allow auto update --> <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> - [Get a File's Information](#get-a-files-information) - [Update a File's Information](#update-a-files-information) - [Download a File](#download-a-file) - [Upload a File](#upload-a-file) - [Upload Preflight Check](#upload-preflight-check) - [Upload a Large File in Chunks](#upload-a-large-file-in-chunks) - [Upload a Large File in Chunks Including Attributes](#upload-a-large-file-in-chunks-including-attributes) - [Upload a Large File Version in Chunks](#upload-a-large-file-
I am using the following references, href="https://cdn01.boxcdn.net/platform/elements/16.0.0/en-US/explorer.css src="https://cdn01.boxcdn.net/platform/elements/16.0.0/en-US/explorer.js
I have a simple question, I am running a python script that searches for files regularly in box folders. Is there a way to refresh this box folder within my script? Thanks a lot.
I am using a python script to search for files in a specific folder, the folder contains over 25K files I have an excel with filenames that the script needs to search for. Part of the script looks like this: Start searching and downloading for file_name in file_names_to_download: print(f"Searching for {file_name} …“) search_results = client.search().query(query=f”{file_name}“, limit=10, ancestor_folder_ids=[folder_id]) exact_matches = [item for item in search_results if item.name == f”{file_name}"] if not exact_matches: print(f"No exact match found for {file_name}.") df.loc[df.iloc[:, 0] == file_name, 'Status'] = 'Not Found' continue if len(exact_matches) > 1: print(f"More than one exact match found for {file_name}. Using the first match.") item_to_download = exact_matches[0] print(f"Found {file_name}. Downloading ...") found_files.append(item_to_download.name) item_download_path = os.path.join(download_path, item_to_download.name) try: with open(item_downloa
I need to upload file into box without manual interaction using c#.net. As per the SDK, I need to pass access token & refresh token. How can I get Access token & refresh token from C#.net using client id & client secret without manual interaction. Thanks.
I’m new to the Box API, and I’m trying (and failing) to get JWT Authetication working I’ve created a Custom App in my free individual account which shows enterprise id 0 I downloaded the JSON file that was generated containing the app settings. auth = JWTAuth.from_settings_file(‘0_i21yxr8x_config.json’) auth.authenticate_instance() client = Client(auth) When I run my code I get an error boxsdk.exception.BoxOAuthException: Message: Please check the ‘sub’ claim. The ‘sub’ specified is invalid. Status: 400 URL: https://api.box.com/oauth2/token Method: POST I read somewhere the “enterpriseID”: “0” in the json file might be causing this issue. How do I get a working enterprise ID? Or is there a way to use the User ID?
Good afternoon, there is a project for react typescript. All the integration has already been fully done, but we got a problem with the display of UI Elements. When importing a component, I got the error Could not find a declaration file for module ‘box-ui-elements/es/elements/content-explorer’. ‘***/node_modules/box-ui-elements/es/elements/content-explorer/index.js’ implicitly has an ‘any’ type. (any component, this one as an example). How can I import and make it work instead of with a typescript?
trying to request token from c#.net using grant type: authorization_code, I’m getting the error “The grant type is unauthorized for this client_id” I don’t know where to set the redirect url, I have set CORS Domains as http://0.0.0.0 Add information about the configuration settings of your app. : Custom Authentication Method : OAuth 2.0 with JSON Web Tokens (Server Authentication) (pre populated.) Please help. Thanks. Prasanna.
Hi there folks. Version 0.4.0-alpha of rusty-box has been released. Rusty-Box 0.4.0-alpha This version now supports the following authentication types: Developer Token Client Credentials Grant (CCG) OAuth 2.0 Check it out in crates.io or take a look at the repo: GitHub GitHub - barduinor/rusty-box Contribute to barduinor/rusty-box development by creating an account on GitHub. Cheers
[First post – please bear with me.] Box recently sent me a notice about deprecating some SSL protocols. Legacy SSL Ciphers Deprecation The suggestion is to use “api-test(.)box(.)com” instead of the normal “api(.)box(.)com” to test whether you need to make security changes to your app. The problem I’m facing is I use the BOX SDK v.2 (with C#) which has “api(.)box(.)com” hardcoded in the library so I can’t change it to use the testing URL. [The (.) is to get around the new user 1 link only restrictions.] Any suggestions? Please let me know if you need more info. thanks, randy
I am getting the following error while previewing a file. The error message says, The document may be protected, but I am able to preview the same if i use a new downscoped token. Form network tab, It seems when we click on preview, it tries to download the resource, but the resource is not found. When I tried hitting the same API in postman. I got the following response. This happens when I try to preview a documents after some interval of 10-15 minutes. Is there a solution available to explain the underlying cause of this behavior?
Hello, I have a box application that runs somewhere in Kubernetes cluster. It needs to read a box file that belongs to a physical box user, The application onboarded with JWT authentication and box created a server account: AutomationUser@boxdevedition.com. I shared the file with this server account and it can see it when listing files. However when trying to get the file content or downloading the file I get 403 authorization error. The organization does not allow " App + Enterprise Access" configuration nor “Generate user token” access. seems strange that even when the file owner added the service user as a collaborator it still cannot read the content. Is there a way around this ?
I am trying to preview an uploaded document in Content Explorer but using RequireJS in my project. When I remove the RequireJS library the preview works fine moreover when I load RequireJS the preview shows below error: Cannot read properties of undefined (reading ‘GlobalWorkerOptions’) Can we preview an uploaded document with RequireJS loaded on the same page?
Does Content Explorer include any mechanisms to stop the uploading of files that are infected with viruses? Is there any indication of an error in Content Explorer when attempting to preview a file that contains a virus? Is it possible for Content Explorer to hide/remove the download choice for a file containing a virus, despite the download permission granted by the downscoped token used in Content Explorer?
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.