Introductions and general questions relating to Box
Recently active
Created a developer instance and want to be able to create user accounts. I see where we can add collaborators but I do not see users and groups to create new managed users to test with.
Hello, I would like to remove an option from a java classification. I use the following code: List<MetadataTemplate.FieldOperation> updates = new ArrayList<>(); delete.setOp(Operation.removeEnumOption); delete.setFieldKey(“Box__Security__Classification__Key”); delete.setEnumOptionKey(option.getKey()); updates.add(delete); return MetadataTemplate.updateMetadataTemplate(boxAPI.getAPI(), boxAPI.getScope(),Metadata.CLASSIFICATION_TEMPLATE_KEY, updates); but I get the following error: The API returned an error code [403 | q5q8oghr0krwv557.0be56fb8d3a04661fa87b95f7aa219311] forbidden - Template operation can’t be performed due to existing policies on the template. thank you in advance for your help
For our use-case, we have a shared link from our tenant and we’d like to find out some basic information about it: file id, owner id, etc. Currently, we can pull that information if we already know the user but we receive a 404 error when we try to access it with an admin account. Would it be possible to add that functionality? We’re currently using this method: BoxItem.Info itemInfo = BoxItem.getSharedItem(api, sharedLink, );
I am currently using a Box trial account and have connected the API to another application. However, the connection only works for about 1 hour before being lost. I would like to ask if this is the way Box’s algorithm works or a limitation of the trial account. Thank you for your help.
I am integrating Box with Bubble.io , I have created a free personal account in Box. I created an app and used the JWT from Bubble to create an key. Since I could not find an enterprsie ID, I deleted the app and started again. I then created a new app and when I use the same JWT from Bubble., I get error message “Public key already in use. Please add a unique key.” Unfortunately its not possible to generate a new JWT form Bubble. Please advise : How to get an enterprise ID (is it restricted on personal plans?) How to resolve the error "Public key already in use. Please add a unique key". Best Regards
the follow error how to solve? [Box Sign has not been enabled for your Box Enterprise ID. To enable Box Sign, please contact your Box account manager.]
Hi, I’m able to get the mini-box-mediaInfo-video-metadata uploader to function and fill in metadata fields on images in my Box folder. Unfortunately, the type of metadata that it recognizes for image files isn’t complete. It doesn’t seem to capture metadata fields such as: Tags, Date taken, or any of the Camera specific metadata fields (among others). Is there a way to remedy this? Thank you!
I’m currently encountering an issue while attempting to utilize JWT authentication with the Box SDK in Node.js. Issue with Invalid ‘sub’ Claim in JWT for Box Authentication(Error: Auth Error: Please check the ‘sub’ claim. The ‘sub’ specified is invalid. [400 Bad Request] invalid_grant - Please check the ‘sub’ claim. The ‘sub’ specified is invalid.) Specifically, I’m trying to create a folder in my Box account programmatically using the provided code snippet. Despite verifying the accuracy of the JWT configuration file, ensuring that the JWT token has not expired, and confirming that the client ID and private key information are correct, I continue to encounter authentication errors. Additionally, I would like to mention that I created the application in the Box Personal Pro version, resulting in an enterprise ID of 0. Could this enterprise ID value be contributing to the authentication issue? Furthermore, even after creating another account with a free version, I’m still experiencing t
We use WS_FTP to schedule nightly FTP transfers to and from Box. Lately these transfers have failed, and I suspect (as well as hope) that the culprit is a Non-Trusted Certificate (see screenshot)! I need to remedy this quickly, because copying these files manually is setting me and others behind at work. I’m reluctant to “trust this certificate” as I’m filling in on this task (with others falling to my colleagues) for my CIO who is out on extended leave, and I’m not sure what potential liabilities I might expose my employer to. Is this something Box support can help me with? DigiCert, Inc. support was unable to address this issue and didn’t think I could do much about it either; they basically said Box would have to reorder and reinstall this certificate. Thanks, Ian
I need to give one user access to all my folders without adding them as a collaborator. The main goal is to download files using the API, which requires “As User” access. Since the user needs access to the folders for this to work, I’m looking for an alternative method, possibly through groups or scopes.
Hello, I’m using the java sdk to add an enum option to the classification. However, I can’t fill in the “classificationDefinition” and “colorID” arguments using the following code: public JSONObject addEnumOption(String enumOptionKey, String key, String classificationDefinition, float colorID) { JSONObject classificationObject = new JSONObject() .put("classificationDefinition", classificationDefinition) .put("colorID", colorID) .put("isTrialClassification", true); JSONObject staticConfigObject = new JSONObject() .put("classification", classificationObject); JSONObject dataObject = new JSONObject() .put("key", key) .put("staticConfig", staticConfigObject); JSONObject jsonObject = new JSONObject() .put("op", "addEnumOption") .put("fieldKey", "Box__Security__Classification__Key") .put("enumOptionKey", enumOptionKey) .put("data", dataObject); return jsonObject; }
I’m only getting the URL which is a direct download link and preview URL? how can I get the actual URL of the file? If its image file, I wanna get the URL with .jpg extension; not the preview or direct download ones
I have the box sign requests API working well (https://api.box.com/2.0/sign_requests). I specify a “template_id” in our request and when the user signs, the name of the file is the name of the template file with the date/time appended to the filename (e.g. “templatefile 2024-06-13 14:54:53.161503.pdf”) Is there a way to customize the name of the file that is created when the signing is complete? The sign_request element has a “name” object, but when I set this, it doesn’t change the filename. It DOES set the filename of the signing log, but not the file that is actually signed. I suppose I could do a second API call to change the name, but I would like to reduce the number of calls to the API.
salesforce of object:box__Folder_Meta__c is created one record when I user salesforce of flow to call method: * Create Folder For Record ID (createFolderForRecordId). but object:box__Folder_Meta__c is not created one record when I user salesforce of flow to call method: * Create Folder (createFolder). I want to know who create the record in object:box__Folder_Meta__c and when is create?
Hello Team, We are trying to send a file from BOX to Webdam with integration connector and it is not working. However, when we send the file from Webdam to Box it seems to be working fine. Please share the prerequisites to be taken before send file from BOX to Webdam. Thansk for the support
Auth Error: Please check the ‘sub’ claim. The ‘sub’ specified is invalid. [400 Bad Request] invalid_grant - Please check the ‘sub’ claim. The ‘sub’ specified is invalid.
Context: We are actively builidng a Box Integration. Developed a custom-application to use Authentication as OAuth2.0, Created a web-integration to “Process the File” We use the Auth-Code received from Web-Integration to get the DownloadURL for the file. We are not storing each user’s access-token in our database. Instead, we are authorising Admin/Co-Admin and store’s his/her AccessToken/Refresh Token. After Processing the file-content asynchronously, we need to upload a new version of the file later. We are using the Admin/Co-Admin access-token stored in our database to initialize the Node-SDK and upload the file version. Problem: When we try to Upload the file, We started getting error - “404 Not Found” After some reading, We understood the issue is because we are using a different user’s token. and Tried the “AS-USER” header to solve this problem. Unfortunately the new Request throws “403Forbidden” Why the “as-user” header is not working for us? Note: I have enabled the
I have concerns about potential API charges associated with using Box webhooks, and I would appreciate your insights on this matter. For instance, when using Webhook v2 to capture file update events, is there a difference in API charges if the target is a folder containing approximately three files compared to a folder containing a large number of files and subfolders? Thank you for your assistance.
Hello community, Is there a way to use the Marker-Based Pagination with Python SDK? I’m currently trying to perform a search that will exceed the 10.000 limitation for the ‘offset’ property. Therefore, I’m trying to perform it with a marker-based object collection but haven’t found any documentation on how to perform the search with Python scripting. I would really appreciate your help upon this matter. Thanks in advance!
It says a box admin has to approve my application, who do i contact to get it approved?
While creating new app in enterprise account, getting “Error parsing PKCS private key for Box Developer Edition.”. Using box sdk 2.58.0.
When I upload a large file (16GB) using the Box API, I often receive no response from the Box server for more than two hours ,How can I resolve this issue? THE AUTH IS JWT THANKS
I’ve incorporated Box into my applications and have relied on it for several months. Previously, I’ve been utilizing the getDownloadURL function outlined in their documentation to download individual files. Now, my objective is to download an entire folder as a zip file. To accomplish this, I’ve utilized a recursive implementation of the getDownloadURL function and manually recreated the folder structure to mimic that of Box. Is there a built-in solution or workaround provided by Box for this scenario? The current process is consuming significant server resources and is prone to failure, especially when dealing with folder sizes in the gigabytes range. Thank you in advance for your assistance.
Hello to you all I am quite new to Box (coming from pCloud, with reliability issues) I have an issues when creating folder shared links with an API call. I do receive a folder shared_link.url, but no shared_link.download_url (I have the link that displays the content of the shared folder, I look for the link that would download the archive of the shared folder) In the JSON returned by the BOX API, at the shared_link.download_url variable, I am receiving a ‘null’ value. In the API documentation, an URL is received. If you have an idea about this, would you be so kind as to share it with me ? Kind regards, Pierre I place the following call (PUT) https://api.box.com/2.0/folders/XXXXXXX?fields=shared_link Body: { "shared_link": { "access": "open", "password": null, "unshared_at": "2024-06-05T08:03:38", "permissions": { "can_download": true, "can_edit": false } } } The answer I receive: HTTP/1.1 200 OK Transfer-Encoding: chunked x-envoy-upstream-service
Hello, I’ve integrated Box into my applications and have been utilizing it for several months. Currently, I display all the files using Box URLs within an iframe. Additionally, I’ve implemented a download option using the getDownloadURL function, allowing users to download PDFs or DOC files, which they can then print using their Office 365 apps. Our new requirement is to streamline the process by providing users with a direct print option within our application, eliminating the need to download the file first. We’ve attempted to achieve this by obtaining the download URL and employing JavaScript code for printing, but unfortunately, we have been unsuccessful. Can you guide us to achieve this feature. Thank you in advance for any assistance you can provide.
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.