Introductions and general questions relating to Box
Recently active
Hello Community, I’m relatively new to the platform and could use some guidance on the most effective approach to conduct load and performance testing using the Box API. My objective is to simulate substantial traffic from diverse users simultaneously, each with varying rights and permissions that need to be pre-configured. These users are expected to perform basic CRUD operations and execute various searches on the platform. I am seeking advice on the appropriate method to implement such a scenario on the Box platform. Specifically, I would appreciate insights into the recommended box application type and any other pertinent details that could facilitate the successful execution of these tests. Thank you in advance for your valuable assistance.
I want to change my primary address with the REST API https://api.box.com/2.0/users I would like to change the primary email address of the target user by using login as a parameter in the “login” section, but I cannot do so because of a 400 error. It is a bad_request, but can’t I change the primary address using info? {“type”: “error”, “status”:400, “code”: “bad_request”, “context_info”:{“errors”:{“reason”: “invalid_parameter”, “name”: “new_primary_ email”, “message”: “Invalid value ‘change-test@test.com’.”}]} , “help_url”: “http:/developers.box.com/docs/#errors”, “message”: “Bad Request”, “request_id”: “nwogfbhkcvt2r3mk”}%.
Hello I need contact with support team as soon as possible, we’ve talking with support but they stopped answering so I need some help about this issue, thanks
It appeared that since end of last week, our API calls from server to api.box.com has been failing. On further investigation opening https://api.box.com using browser, there appeared to be issues with the site certificate itself. and browser returned HTTP ERROR 401.
Hello. Box is reporting warnings and errors in the console when I use the “download” link exposed after I click the “…” in a file’s row when browsing a folder. The error is a 403 (Forbidden) error. I’m pretty sure this isn’t what used to happen. I have my cache disabled, and my browser was restarted today. The warnings and errors in the console make it sound like Javascript is not matched with the resources the browser is fetching from CDN. Here are the console contents. The 403 error appears when I click “download” after clicking the file’s row’s ellipsis. vendors~observability.5ad568aac3.js:1 rumAccessToken will be required in the future … runtime.013a6bc02d.js:1 Initialization of sharing external failed: Error: No remote path is available for the remote name box_docgen_client! … As a workaround, I am able to download if I click on the row for the file, then Box shows me the page for the file, and I can successfully download the file via the “download” button at the top right. So t
I’m attempting to use the Box Embed widget to serve as a file uploader – from the parent application, I would like to listen for events for things like onFileUpload, onFileDelete, etc. I’m wondering if the widget broadcasts any messages that would allow me to do this? The problem I am trying to solve is to upload a file to the Box embed widget, and then store the file path of the newly uploaded file in the parent applications backend. But currently I do not receive any information back after the onFileUpload event, so the parent application does not know what the uploaded file path is. I’m open to any and all other approaches that might unlock that. Thanks in advance for any guidance.
I misconfigured my application within developers.box.com and deleted it to create another one and start the correct configuration. When deleting the app, I forgot to remove the public key from my bubble.io app. When creating a new application, I can no longer use the public key of my bubble.io application because it says that it is being used. However, I no longer have access to the application that I deleted on developers.box.com to remove the public key. How to resolve this?
Hi @matt.riley Our integration developer is trying to apply metadata in production but getting the following error ‘‘[404] not_found - Specified Metadata Template not found While it is working in sandbox, also I have tried using Box CLI to add the metadata using the “as-user” for the developer account and it is giving this error “Unexpected API Response [403 Forbidden | kvmbobhjn3tf8x1g.049584c0275b75bfb5775df5fa19eac6c] access_denied_insufficient_permissions - Access denied - insufficient permission:” while I have invited the user to the folder with an Editor permission. Let me know if you need more details. Best Regards
When I create a developer account and I try to create an app, but there is no way for me to approve it. The admin console is no longer available, and I cannot find a way to test anything of what I do. Because of the admin account not existing I cannot use JWT authentication to do tests or any of that.
I have a client who is an Enterprise user. I need my application to get the enterprise users details and folder in my app. Currently as part of development as there is no enterprise account avaialable for developers we are using our personal client id and secret to access our files. To access the entire Enterprise, request Enterprise access and submit your app for authorisation. Then for our enterprise client , how should we go about? Where should we request the enterprise access.
My storage was full. I deleted the biggest past and nothing happened. It says that my storage is still full. There is nothinh in the trash past. I don´t understand what is happening.
Hello, I am using Box CLI Box folders:download in GitHub Actions, and I want to download it to a specific path. When I trigger action, it downloads it to C:\Users\Administrator\Downloads\Box-Downloads I can’t believe this is not already thought off - maybe I am missing something but I couldn’t find the flag for this in https://github.com/box/boxcli/blob/main/docs/folders.md#box-foldersdownload-id thank you ~Laith How to achieve this?
Can I add query params to redirect-uri. I am using box oauth2 python sdk.
Currently I want to use the “Open With” function of the box and follow this docs https://developer.box.com/guides/embed/ui-elements/open-with Currently I’m stuck at the add-integration-to-user step. developer.box.com Content Open With - 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 Like the image I shared, it seems like I got the wrong authenticate but the error code is 404 so I can’t predict the specific error. I see that the Open with UI is displayed but is disabled and error 500. Pls help me.
I am trying to get the some folder information from my box folder but when I am executing the code getting this error “{“type”:“error”,“status”:404,“code”:“not_found”,“context_info”:{“errors”:[{“reason”:“invalid_parameter”,“name”:“item”,“message”:“Invalid value ‘d_167383943946’. ‘item’ with value ‘d_167383943946’ not found”}]},“help_url”:“http://developers.box.com/docs/#errors”,“message”:“Not Found”,“request_id”:“dlcl7ahjegv6pt82”}” I’ve even searched in the box support and found the same error ( Not able to get folder info using access token - SDKs & Tools / Python - Box Developer Community and followed the same but those guidelines mentioned in that chat is not supported by our organization. can anyone help me on this error.
File exist in BOX folder and points to itself in BOX. this issue show up. I don’t know why “404 message file doesn’t exist or folder -1”
I have a problem when calling the share link files API with error code 403 and I don’t know what to do? Here’s content bopy: { “shared_link”: { “access”: “open”, “password”: “mypassword”, “unshared_at”: “2024-12-12T10:53:43-08:00”, “permissions”: { “can_download”: true, “can_preview”: true } } }
I have a new Box account. I created a new Box app from the developer console to process files stored in Box using a Python script. But the app_user_auth.authenticate_user() step is failing with below error **BoxOAuthException**: Message: Please check the 'sub' claim. The 'sub' specified is invalid. Status: 400 URL: https://api.box.com/oauth2/token Method: POST My python code looks like below from boxsdk import JWTAuth, Client import json with open('./settings_config.json','r') as file: config_json = json.load(file) auth = JWTAuth.from_settings_dictionary(config_json) service_account_client = Client(auth) app_user = service_account_client.user(user_id='xxxx') app_user_auth = JWTAuth( client_id=config_json['boxAppSettings']['clientID'], client_secret=config_json['boxAppSettings']['clientSecret'], user=app_user, jwt_key_id=config_json['boxAppSettings']['appAuth']['publicKeyID'], rsa_private_key_data= config_json['boxAppSettings']['appAuth']['privateKey'],
Hi All, I created a free developer account and create an app. I was able to generate the key for jwt authentication. I have 2 question which is blocking me Am I service user, or I need to create one? If So how, the documentations gives no info if any specific licenses are required On downloading the pub key json, i see enterprise ID =0, is this expected? I am getting an error on running my code. {‘error’: ‘invalid_grant’, ‘error_description’: "Please check the ‘sub’ claim. The ‘sub’ specified is " ‘invalid.’} Please help.
Hi,Can the box authorization page be available in Japanese content for my API, and if so, what changes are required in the API call to achieve this?
Hi Team good day, could you help me please I am trying to read one file into my box Folder Company , but seem I am not able to reach it , it is telling me access denied var BoxSDK = require(‘box-node-sdk’); var sdkConfig = require(‘…/Bromont.json’); var sdk = BoxSDK.getPreconfiguredInstance(sdkConfig); var client = sdk.getAppAuthClient(‘enterprise’) var fs = require(‘fs’); client.users.get(client.CURRENT_USER_ID) .then(user => console.log(‘Hello’, user.name, ‘!’)) .catch(err => console.log(‘Got an error!’, err)); var client = sdk.getAppAuthClient(‘enterprise’); client.files.getReadStream(‘1339534847387’, null, function(error, stream) { const chunks = []; stream.on('data', function(chunk) { chunks.push(chunk); }); stream.on('end', () => { var result = Buffer.concat(chunks); var sal=result.toString('base64') fs.writeFile('newfile.txt', sal, function (err) { if (err) throw err; console.log('File is created successfully.'); }); }) });
Hello Box developer community, I hope you are all doing well. I have a problem when I’m creating a new application. Now I’m trying to use API to upload my file from local to BOX but I can’t find the Authorization Tab. The plan I’m using is basic personal plan. Could anyone tell me how can I authorize my aplication?
Is there an api or way to connect box.com to ssis packages ? I just want to take files from our sql server and move them to box.
I am trying to get contents of my files. Unfortunatly they are in bytes, as I don’t want to store then as files I try to convert them into string. Even tough I tried many encoding none works. I also tried text representation which solves my problem. But it is only applicable upto 500MB documents as per the BOX documentation. How can I get the contents from the files even if they are greater than 500 MB.
Has anyone found an easy way to remove/delete inactive Box users? I’ve found a user saying they did it successfully using a CSV of User ID numbers, however, I can’t find a way to pull a list that includes user ID numbers.
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.