A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
I have a single download API “https://api.box.com/2.0/files/:file_id/content” with this i can able to download only single file only. But i want to download multiple file separately using single download API. I dont to want “ZIP Download method” Because i want separate files(Eg: Sample1.pdf, Sample2.pdf, Sample3.pdf...). Can any one say How to implement this as a solution. Thanks in advance.
I’m using the following call to retrieve events from Box. EnterpriseEventsRequest request = new EnterpriseEventsRequest().types(eventTypes).limit(10).after(null).before(null) eventTypes is an array of BoxEvent.EventType. For all other events, DOWNLOAD, LOGIN, etc. the call is correctly returning only event types that match. When I use ITEM_CREATE or ITEM_UPDATE, the filter is basically getting ignored and it’s returning random events. I’m using the 4.11.1 version. Any ideas of what could be wrong?
Hi ,I have to use this UI elements and box preview api in angular project along with node >=18. please help me out which angular version was support for this.Thanks in advance
I’m building an automation that triggers a folder creation in Box, then using that new folder I’d like to send the file_request url of that folder to a customer so they could upload documents to that folder. Each automation will have it’s own separate folder. The problem is I can’t seem to find a way to retrieve that file_request url for users to upload their files to unless I manually go into the console and copy it. Is there another way to automate this process? It seems silly that we can query the shared_link for a folder, but not the file_request. Any help would be appreciated. Thanks
We need to know when folder has already been created inside app..box.comwe are using salesforce SDK likeresult = boxTools.createFolderForRecordId(recordId, null, true); system.debug('result:' + result); boxTools.commitChanges();it returns back new folder Id but there is a need to wait for some time to see the change both in salesforce and using a link like app.box.com/folder/{folderId}is it possible to achieve it?
While using the Box App on my Ipad files will not open immediately. The loading icon appears and continues to run for several minutes and file never opens. Has anyone had this issue and if so what did you do to resolve it.
For our API integration when calling this endpoint GET `/files/{file_id}` the return value for modified_by occasionally returns empty strings for the “name” and “login” fields. Example: { "type": "file", "id": "<file_id>", "name": "Outline.doc", "parent": {"type": "folder", "id": "<folder_id>", "name": "My Documents"}, "extension": "doc", "size": 20480, "sha1": "<hash>", "item_status": "active", "owned_by": {"type": "user", "id": "<user_id_1>", "name": "<name>", "login": "<email>"}, "created_by": {"type": "user", "id": "<user_id_2>", "name": "", "login": ""}, "modified_by": {"type": "user", "id": "<user_id_2>", "name": "", "login": ""},}when following up on this call and querying the user_id with GET `/users/{user_id}` the API is returning a 404 not found status.What is this mystery user? Am I doing something wrong in my calls that might be causing this? The call is correctly using the `as-user` header whe
Hi there,I am using the Embedded Signing Experience to embed signable documents into a web page using an iframable_embed_url. I use the Create Box Sign request API to retreive the embeddable URL. The embed is working fine, including te signing functionality, but my document contains one user-fillable field whose value I need to retrieve after signing. In the Sign Template editor, I've given the form field an External Identifier to make the input easer to find, but I can't find a way to fetch what the user put into that field after signing.I hoped that the "Sign Completed" webhook would include all the document's input data, but it does not. https://developer.box.com/reference/resources/webhook-invocation/Then I took the Sign Request ID (additional_info.sign_request_id) from the webhook response, and passed it to the "Get Box Sign request by ID" API. Despite the documentation showing Signers and Inputs on the response, that data is not present in my response. https://developer.box.com/r
I am using Box SDK to find a folder to which I am a co-owner. In the process I try to fetch all folders/items from root level (folder_id =0) and the total_count is always 15 while there are almost 26 items in it. Some folders are not showing up in the fetch list. Not sure why get_items is not pulling all the items at root level. Both offset and marker pagination is not working.Not sure what could be the cause. I asked a folder owner to create a new folder and add me as co-owner, still that folder is not showing in the fetch list either. No clue where the total_count is set and how to override it.
Hi there,I'm using the Embedded Signing Experience to show my users a document they need to sign. I call the Create Box Sign request API to retreive the embeddable URL, and immediately embed the iframable_embed_url onto my page. At this point, the cloud matching captcha displays. If I wait 5-7 seconds and then complete the captcha, the signable document displays. But if I complete the captcha immediately, the page shows "Invalid Link: This request link is invalid."It seems like the template file gets copied to make a signable instance at the same time the endpoint returns, but the document copy is not finished yet, and if the users proceeds too fast, they attempt to access an instance that isn't done being created yet.
I would like to download the signed document after all the signers have completed the signatures. In trying to do so, I am trying to call download API by providing the file id:https://{{api.box.com}}/2.0/files/{file_id}/contentAfter checking the status of sign request, which is “signed”, I am trying to download the document. However, it is still resulting in the document which is not signed/without signatures.Can you please help me understand, how to get the signed document through API.Thanks in advance.RegardsVenky
Your SSO connection had errors during set up. In order to help troubleshoot your connection, please submit a case to Box User Services here.
We have successfully enabled the GCM scope on our Custom App through Box Customer Success. However, we would like some clarification regarding the authorization process for our customers. Specifically, when a customer authorizes access through our app, will the GCM permission scope automatically be enabled for their Box services?Or will we need to involve Box Support for any additional intervention to ensure that the GCM scope is active for the customer's account?
When I use the Quick Shorcut to create an Content Search API call on Box it works just fine. However, my end goal is to use that same API call to bring the JSON into a Neo4j graph database. When I alternate making the call first in Postman and then in Neo4j, using the same authorization token, the Postman call continues to work and the Neo4j call always fails on authorization with the same token. How can I fix this?
When I use Postman to execute a content search such as:https://api.box.com/2.0/search?type=folder&fields=id, name, owned_by, parent&query=A&limit=10Only some fields are displayed. When I remove one field another field which wasn’t previously returned shows up. Are there limits or constraints on the fields parameter? Also, can you specifiy fields at the next level down such as parent.id?
I'm trying to find the best way to list all items in Box that exist under the root folder and have been updated after a specific date. I've looked into a couple of API endpoints, however:1. `/search` - It seems to require a query string or metadata template.2. `/metadata_queries/execute_read` - It seems to require setting up a metadata template.My goal is to query items based solely on their update date, without relying on any metadata. Is there a straightforward way to achieve this using the Box API?
System.HttpRequest[Endpoint=https://api.box.com/2.0/files/####/, Method=GET when calling above api we are getting this error.System.CalloutException: arraycopy: last source index 32 out of bounds for byte[31] We seem to be getting this error periodically at random intervals. I removed the number in the endpoint and replaced it with #### for the sake of this post.
I have an application running out of my Oracle based IdM system that updates group membership. This process broke down due to the process using an OAUTH2 based authentication. I have create a new app that uses different auth, and now we can read all the groups and group members. However, when we try to add a group member, we get:403 - access_denied_insufficient_permissions - Access denied - insufficient permissionThis is from an Oracle PL/SQL app, using the APEX_WEB_SERVICE.MAKE_REST_REQUEST function. The same one that we used to get the list of groups and have been using for 10 years to create users and groups. The app gets a token (if needed - tracks the expiration date in the database), and makes the request. It also logs the token, url and request body. If I copy and paste these values into Postman and POST it, it works fine - same token, same URL, same body. I expect I am missing (or including) some header or cookie, or some other magic, and the API which causes the failure.
I’m a little bit confused. i can perform box.Toolkit toolkit = new box.Toolkit();system.debug(toolkit.getRecordIdByFolderId('286307925200'));and get the correct salesforceId without any authtorization. what did i miss?
I have a question regarding rate limiting for license-based APIs. If, for example, a custom app developer is on the Individual (free) plan, user A of the custom app is on the Enterprise plan, and user B is on the Business plan, would the API call limits be as follows?User A: 100,000 API calls per month because they are on the Enterprise planUser B: 50,000 API calls per month because they are on the Business plan Reference information regarding API limits: https://www.box.com/pricing
I have one folder which has a blue icon. I made a fresh one and it's yellow.The blue one works for API -- I am able to upload files to it.How do I change the yellow one to be the same? Seems the blue one was shared with my API user, but I don't know how to do that again -- it was a long time we did that one.We have only one actual user on this platform.Thank you.
We are creating a folder via a flow, when we debug, we get the following error: An Apex error occurred: box.Toolkit.BoxApiException: The folder was returned with a null id. When we debug, it appears the folder id exists to be passed. Any advice?
Hi,We are trying to add a custom UI using the Box Content Explorer javascript library from the UI Elements SDK. The Box Content Explorer requires an auth token to authenticate. This must be the Salesforce user rather than a service account in our case so security and access is respected.There does not appear to be a method to retrieve a user's auth token from the Salesforce toolkit. Looking outside the toolkit to the Salesforce SDK, there isn't an implementation of the OAuth user flow (this must be implemented by the application) and my understanding is that this would be an additional log in to the Box for Salesforce login.I'm currently looking into using the toolkit to query a Box managed user's Id using the username from Salesforce and then getting a user token through a Client Credentials custom app. What is the best way to seamlessly integrate the Box for Salesforce toolkit with the Box UI Elements SDK so that there is a single authentication process? Thanks
Description: I created a new OAuth 2.0 app in Box with the exact same scope and permissions as a previously functioning app. However, when I try to download files using the new app, I receive the error: "access_denied_insufficient_permissions". The previous app worked perfectly with no issues.Steps to Reproduce:Created a new OAuth 2.0 app in Box with the same scope and permissions as the original app. User grants permissions to the app. Attempt to download a file via API call.Expected Behavior: Files should download successfully, just like they did with the original app.Actual Behavior:Download attempts fail. The following error is returned: "access_denied_insufficient_permissions".Additional Information:The permissions and scope for the new app are identical to the old app, which is still working correctly. The issue began after switching to the new app. I have verified that the OAuth tokens are correct and have the appropriate permissions.Please advise on how to resolve this issue a
◆BackgroundWe provide a service that displays a list of folders in Box and uploads files specified by the customer. We received an inquiry from a customer regarding the following issue:On 8/21, 8/26, and 8/29, the service was temporarily unavailable due to an error. It was restored over time and became usable again. What could be the cause of this?◆Our Investigation ResultsUpon investigating our application logs, all incidents were due to the following error:HTTP Status: 403Response: "error":{"code":"AccessDenied","debugMessage":"{\"error\":\"service_blocked\",\"error_description\":\"The application is blocked by your administrator\"}"◆Executed APIPOST https://api.box.com/oauth2/tokenThe error occurred during the refresh of the access token.◆Questions1. Under what circumstances would an administrator temporarily block access?2. Are there any specific settings in the customer's Box administrator configuration that we should check?◆Additional InformationIf a Box administrator had prohibi
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.