A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
The get sign templates listing API call is returning a 500 Internal Server Error for me. This seems to be irrespective of whether making the call as a particular user or standalone. API: https://developer.box.com/reference/get-sign-templates/ Call fails whether through code or just curl, e.g. curl -L -X GET “https://api.box.com/2.0/sign_templates” -H “Authorization: Bearer <ACCESS_TOKEN>” Response is HTTP Code 500 “Internal Server Error” Anyone else see this when making a call to that API endpoint?
I’m trying to authenticate with OAuth 2.0 and I keep getting 401 unauthorized errors. I know for sure that I’m using my correct Client ID and Client Secret, so I’m not sure what’s going wrong.
Hello Everyone, Yesterday I preparing to deploy Box to Salesforce Prod After the installation was done I kept getting an error from Box flow “Assign Box Permissions” Error element Create_Permission_Set_Assignments (FlowRecordCreate). This error occurred when the flow tried to create records: FIELD_INTEGRITY_EXCEPTION: The user license doesn’t allow Assigned Apps. You can look up ExceptionCode values in the SOAP API Developer Guide. any idea what happening I had to deactivate the flow
Are you ready to embark on a journey into the world of Box Platform?We’re thrilled to introduce our brand new self-paced, hands-on workshop that will help developers like you get started with the Box Python SDK while exploring the fundamental concepts of the Box Platform. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/announcing-the-box-python-sdk-workshop-unlock-the-power-of-box-platform-828c71afeeaa?source=rss----a995c24848a3---4
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();
Happy Dreamforce 2023!Get ready to embark on a thrilling tutorial as we dive headfirst into using Salesforce Screen Flows + Experience Cloud alongside the Box API. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/box-salesforce-screen-flows-with-experience-cloud-7f440a65c9?source=rss----a995c24848a3---4
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-
While checking pricing page in Box I saw we have 50000 API calls per month for Business Plan and for Enterprise we have 100,000 API calls per month. So, can anyone explain me how it’s work and where I can check how many requests are pending.
I have a folder ID and I have a leaf name. What I want is the full file details. At the moment I list the folder and look for the leaf name. This works but for large folders is very slow and requires lots of API calls. Is there an API which takes as input a folder ID and a leaf name and returns a file info just for that file? The best I’ve seen is get-search but that has several problems - it does a recursive search when given folder IDs which I don’t want, and I want an exact match for the file name, not a fuzzy one (its still fuzzy if you use “double quotes”). Any ideas? BTW this is for rclone!
Are you a developer looking to enhance the user experience of your web application when it comes to file and folder management? Look no further! This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/introducing-the-box-ui-elements-workshop-elevate-your-apps-user-experience-cfcbd05a0090?source=rss----a995c24848a3---4
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
Hi, a partners is sharing files with us through a box.com account. The files are store in folder tree. There are over 25K of files stored. We receive an xls files containing only filenames. We need to download files based on a filename but I do not know in which folder the file resides. I have made some attempts in python to search and download files, but it looks like my approach is incorrect or I am hitting API rate limits. I have noticed that if I have the file ID I can easily download the files, but I only have the filenames. What would be the best approach for me to create a automated solution using python and the box.com API? Would it be easy for the partner to give me the file_ids? Is there an easy way to retrieve those from all files that are uploaded? Or is there a fast way to search based on filename? I would love to hear what your approach would be.
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.
Opting for type safety? Awesome! Let me get you acquainted with the new Box TypeScript SDK GENERATED 💙. Our engineers decided to hop on a path of SDK unification and auto-generation. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/new-box-typescript-sdk-generated-9b3b452385a?source=rss----a995c24848a3---4
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?
Hi, when creating group with this Box API: developer.box.com Create group - API Reference - Box Developer Documentation Explore the Box APIs and SDKs to use for app development, API documentation, developer support resources, and access the Box Developer Console There are 3 options to choose from for member_viewability_level: admins_only - the enterprise admin, co-admins, group’s group admin admins_and_members - all admins and group members all_managed_users - all managed users in the enterprise Also in admin UI there is Permission Setting on group page with also 3 options, but they don’t match. When creating group with API, this is how chosen options are reflected in UI: admins_only → Admins only admins_and_members → Admins only all_managed_users → Company But I can’t figure out they way to set Permission Setting to “Group members” no matter what options I pass through API, how can I do this?
TL;DR —Discover Box Platform’s authentication methods (OAuth 2.0, JWT, CCG, & App Token) that apps use to access its services, explained through a real world analogies and examples. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/box-platform-basics-authentication-methods-101-2e79065b165f?source=rss----a995c24848a3---4
私は、Boxインスタンスで発生している特定の事象への対応を中心に展開するユースケースについてお客様と会話する機会がよくあります。例えば、ファイルが特定のフォルダにアップロードされたとき、特定の機密性の高いコンテンツにコラボレーションが追加されたとき、ドキュメントが署名されたとき、またはファイルがプレビューされたときに、さらに操作を実行したいと考えます。この操作は、ワークフローを開始または続行するよう別のシステムに通知することから、別のソースからBoxのメタデータを検索して適用することまで、何でもかまいません。ご存知のとおり、Boxが提供するアプリケーションはこれらのシナリオに対応したユーザー通知をすでにサポートしているため、この記事では、このバックエンドでの自動化という側面へのいくつかのアプローチの概要を説明します。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/%E3%82%A4%E3%83%99%E3%83%B3%E3%83%88%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6-fe09bd0c02e1?source=rss----a995c24848a3---4
Any tips for testing Box integrations that are used in apex? I’m not sure whether it’s better to Surround all Box methods/auth/api calls in apex with if(!Test.isRunningTest()) so that those lines of code are skipped? Create mock HTTP responses to be able to step through the lines of code if a test is running? eg. HttpResponse response = Test.isRunningTest() ? new Http().send(request) : toolkit.sendRequest(request); Something better? I can see #2 perhaps being best practice, however we use many different box methods (createFolder(), createFolderForRecordId(), commitChanges(), moveFolder(), getFolderByRecordId(), etc) and this could be very tedious to create custom responses for each one. Thoughts?
Hi, I am a dev for a research project. Each month a dataset is collected and uploaded to a particular Box folder to be shared with research partners. I am not the owner of the target Box folder, just a dev assigned to automate the upload process. I have looked at the docs but have confused myself. The Owner of the upload folder needs to create an API key/token or otherwise grant access for an automated process to upload a file. I am not sure though what level/type of access to ask the folder Owner to grant. The code I write will run unattended once a month. It should not run “as me” as I will be reassigned to a different project after this uploader is running. Is a “Service Account” all that is needed? I will need to educate the Owner on what to enable and I am not sure what to tell him at this time. Thank you in advance
Hi All, We are facing an issue w.r.t. box file picker on iOS devices. We have integrated file picker as per documentation but while sharing the files and after selection of files, we need to press select button twice to complete the operation and dismissing the file picker. Thanks.
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?
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.