A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
Is there a way to eliminate the grant access page if a user is already given access to the app? Or is there any other type of custom app I can use for this purpose? My requirement is just to verify that the visitor is an actual box user or not. Once the user grants we store the tokens and refreshs the token before the expiry of the refresh token. A similar way where users can log in with Google. And access grant is asked only first time.
Hi, the grant page shown below appears everytime the user wants to use box. Is this the expected behaviour or is it my incorrect setup?
I have a question regarding rate limiting for license-based APIs. developer.box.com Rate Limits - 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 If the rate limits for license-based APIs are exceeded, will an error occur? I would like to know the specific behavior when these limits are exceeded. In a previous response, it was mentioned that there would be no error, but a notification for a plan upgrade. I would like more details on what happens when the limits are exceeded. Box Support API calls per month limitation of Business Plans When an application reaches the API calls per user (or per second), the response will be "429 Too Many Requests" with Retry-After seconds in HTTP headerhttps://developer.box.com/guides/api-calls/p...
I have a question regarding rate limiting for license-based APIs. developer.box.com Rate Limits - 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 I understand that the rate limits for license-based APIs are based on the entire organization’s usage, not on a per-user basis. For example, if there are 6 users on a Business plan, and each user makes 10,000 API calls, the total would exceed the 50,000 rate limit. Is this correct?
Box released a generated Python SDK a couple of months ago for beta testing. With these new SDK's you get full API support, fast API updates, embedded documentation, and enhanced convenience methods. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/box-python-next-gen-sdk-getting-started-with-oauth-2-0-9561a8b895e1?source=rss----a995c24848a3---4
I am using the create sign request API with the following body to create a sign request: { "external_id": "10000", "parent_folder": { "id": "0", "type": "folder" }, "signers": [ { "role": "signer", "email": "ben.jessup@oasisdigital.com" }, { "role": "approver", "email": "benjamin.jessup@valiantys.com" } ], "source_files": [ { "id": "1056087946155", "type": "file" } ] } After signing and approving the request it goes into a “finalizing” state (shown as “In Progress” in the UI), then eventually goes into a “error_finalizing” status. Initially I encountered this in a Atlassian Connect Express application, but I saw the same behavior after using Postman to create the sign request. Any thoughts on what could be causing this error? Is there any way to see more detail on the error?
All our programs must be well-designed, well-written, and reliable to perform their functions as intended. Testing is a critical element in software development, with the unit testing framework being the most common type. Unit tests focus on the program’s basic building blocks, such as functions and methods in the classes. Unit tests are often created simultaneously with the source code to be tested; in the Test-driven Development (TDD) approach, unit tests come before the actual program code. Ready-made libraries are available to help create and run unit tests. One of the most popular of these libraries in the Python environment is PyTest. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/testing-python-code-101-with-pytest-and-pycharm-40f2af8449b2?source=rss----a995c24848a3---4
Whether you are new to Box or you have been a user for a long time, folder tree structure is an important concept to understand. Recently, we had a developer post on our new community forum (quick plug — create an account if you don’t have one!) about a common question Box hears: how to get around the waterfall permissions requirement. To be blunt, you can’t, but there are still times when you need to do something similar. Let’s look at the situation in more detail. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/restructuring-the-box-folder-tree-with-python-31aeb7e051da?source=rss----a995c24848a3---4
When trying to add Salesforce UI Elements into Lightning Page or Flow - I am seeing this error when opening page or running the flow Refused to frame 'https://mydomain--mysandbox-box.sandbox.vf.force.com/' because an ancestor violates the following Content Security Policy directives: "frame-ancestor 'self'" Additional Info: https://developer.box.com/guides/tooling/salesforce-toolkit/ui-elements/
Hello! I created app as “OAuth 2.0 with Client Credentials Grant (Server Authentication)” and used below python code to get the access token and get a folder info. Im able to get the access token but when I try to get the folder information i get this error {‘type’: ‘error’, ‘status’: 404, ‘code’: ‘not_found’, ‘context_info’: {‘errors’: [{‘reason’: ‘invalid_parameter’, ‘name’: ‘folder’, ‘message’: “Invalid value ‘d_232374452899’. ‘folder’ with value ‘d_232374452899’ not found”}]}, ‘help_url’: ‘http://developers.box.com/docs/#errors’, ‘message’: ‘Not Found’, ‘request_id’: ‘5el5t3hj87nd3i9z’} can any one please help me resolve this error? here is my python code
What is the most efficient method to stop users deleting folders? It seems there is no direct permission which can be applied for this. Folder Locking available via API seems to be a possibility.
I Installed Box for Salesforce and Use Apex Action「Get Folder ID By Record ID」 by Flow. But I get an Error mail everytime. From: FlowApplication <info@jp.salesforce.com> Date: ***** Subject: フロー「Target Folder Under Account」でエラーが発生しました: An Apex error occurred: box.Toolkit.BoxApiException: エラー要素 boxID_Parent (FlowActionCall)。 An Apex error occurred: box.Toolkit.BoxApiException: I don’t know what a happen. Error mail has no Detail Information.(ex. Missing required input parameter: recordId. ) In ApexDebugLogDetail, I can’t get an error information too. 14:06:45.229 (229451568)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8 14:06:45.229 (229480913)|VARIABLE_SCOPE_BEGIN|[31]|this|box.GetFolderIdByRecordId_v2.Request|true|false 14:06:45.229 (229546908)|VARIABLE_ASSIGNMENT|[31]|this|{}|0x5562b465 14:06:45.229 (229624678)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:4 14:06:45.229 (229630570)|HEAP_ALLOCATE|[EXTERNAL]|Bytes:8 14:06:45.229 (229741110)|VARIABLE_ASSIGNMENT|[EXTERNAL]|this.recordId|“0015j00001DOKzrAA
https://api.box.com/2.0/folders , using this api I passed the access token (bearer) unable to create a folder Json body : { "name": "New Folder", "parent": { "id": "0" } } Response: { "type": "error", "status": 404, "code": "not_found", "context_info": { "errors": [ { "reason": "invalid_parameter", "name": "parent", "message": "Invalid value '0'. 'parent' with value '0' not found" } ] }, "help_url": "http://developers.box.com/docs/#errors", "message": "Not Found", "request_id": "lg7h2vhj99q0o3yb" }
Hi everybody. I am integrating the box into my website. The integration has been completed. I searched the documentation to add the function to copy or move files to another folder but there was none. Do I have any solution for this problem? Thank you very much! I need copy or move function like app.box.com
In any content management system, especially with unstructured content, search is fundamental to help users find what they are looking for. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/searching-content-in-the-box-platform-0f79c20e35b6?source=rss----a995c24848a3---4
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.
I am working on an application that requires the ability to retrieve the entire folder tree in a user’s Box repository. I am aware that Box’s API typically requires navigating the folder structure step by step. However, I wanted to check if there have been any updates or new features introduced in the Box API that may allow for more efficient retrieval of the folder tree. Is there a specific API endpoint or method that can help me achieve this ? Thank you
I am creating a Custom Portal ( Box Application ) using OAuth for authentication (NextAuth). The Box environment is configured with SSO via Azure. I’m seeking clarification if this is possible. I recall skimming through the developer site that this isn’t. I’m not able to find that reference.
In this article we'll explore how Box implemented incremental collection deployments using the Postman API's. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/taking-postman-collection-deployments-to-the-next-level-dc06ecf08ccf?source=rss----a995c24848a3---4
Box is all about content collaboration, and one of the many ways users can collaborate over a file is via the comments. Comments are like a slack channel contextualized on a specific file. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/using-comments-in-the-box-platform-ab32f7d3d2f1?source=rss----a995c24848a3---4
I’m utilising the Box Sign Events API to construct my workflows. The API provides capacity to monitor the sign document when it is converted to a .pdf file, using the SIGN_DOCUMENT_CONVERTED event. However, this event does not seem to trigger - I’ve tried using different sign document file formats. They all get successfully converted to a PDF for signing, but the CONVERTED event never seems to show up in the enterprise events stream (admin_logs_streaming). Similarly, I’m also not able to trigger the SIGNER_DOWNLOADED event - the documentation states that: “A SIGNER_DOWNLOADED event_type is produced when a signer downloads the signing document.”, but when I test this out, I only receive an additional SIGN_DOCUMENT_VIEWED_BY_SIGNER event (note that this isn’t the event upon opening the sign document email, but an additional one when I click the download button in the Box sign UI). Is this an intentional behaviour? If so, how do we trigger the SIGNER_DOWNLOADED event? Could someone please
Hello Box developer community, I hope you are all doing well. I have a query regarding the download of text representations for files, specifically for files that are quite large, for instance, around 5GB in size. I understand that Box provides the ability to download files using their API, and I’ve been successfully using it for smaller files. However, I’d like to know if there are any limitations or best practices when it comes to downloading the text representation of large files, especially when they are significantly larger, like the 5GB example. Specifically, I’m interested in knowing: Size Limitations: Are there any size limitations when it comes to downloading the text representation of a file? Is there a maximum file size that should be considered when requesting text content? API Rate Limit: Does Box have any rate limits or throttling in place for downloading large files? Are there any guidelines on how to handle rate limits, especially for large downloads? Optimizations: Ar
Hi, I’m trying to figure out why our app integration no longer opens successfully, it shows “403 forbidden” when opening the app via Box (in a new tab). From our logs it looks like it stopped working August 22th (the oath endpoint haven’t been called since then). Have something changed in how Box calls the authentication endpoint? Its this network call https://app.box.com/index.php?rm=box_openbox_post_form&url=[...] that returns a 403. See screenshot: When i call the url specified in the query parameter above manually with a POST it returns a redirect which can open the app successfully so I suspect something might have changed on Box end. Any ideas or suggestions would be appreciated. Thanks
Is there a flow bulk pattern for creating Box Folders with default batch size of 200. When I insert 200 custom object records, I want 200 box folders created. Reducing batch size works, but not ideal. In the debug logs I see multiple SOQL queries executed by the Box managed package for a single Folder create which ends up tripping the salesforce limits - An Apex error occurred: System.LimitException: box:Too many SOQL queries: 101
You may have heard during our recent BoxWorks product keynote, that we’re making the Box Platform even better with all new Box AI APIs. Soon you will be able to leverage Box AI APIs within your custom apps to both meet your business’ unique needs and extend the power of your enterprise content — all while maintaining content security and compliance requirements. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/sneak-peek-at-box-ai-api-d1f6e69a3e92?source=rss----a995c24848a3---4
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.