A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
Hello,I'm running a program that automatically creates folders and shared links using the Box API.After creating a folder, when I execute the shared link creation (PUT /folders/{id}) for the newly created folder,I receive the following error:Status: 404Details: trashedBoth the folder creation and shared link creation are performed by the same user. Also, although the error message says "trashed," the folder is not in the trash and can be viewed normally in the Box Web UI. Therefore, I'm unable to determine why the 404 error is occurring and am stuck. If anyone has experienced a similar problem or knows a solution, I would appreciate your guidance. Thank you in advance.
I was trying to login to box.com with existing organizational email id, since there is transition in email id inadvertently, I deleted the account from which I already logged in. The new mail id should have been the primary one which i am not able to login as i get the pop-up message as “Account already exists for that mail id” (which was inadvertently deleted - [removed by moderator] ). As of now I already logged in to box with my secondary organizational email id which may stop working anytime. i need to switch my email id for the Box.com login. Could someone please help me out on this scenario.
Hello, I'm trying to connect to the BOX MCP server. I referred to the guide here. I couldnt get it working. How do I get the auth credentials?Is this endpoint correct? I'm trying to connect to my our Agent Platform targeted at enterprise deployments I wanted to try it with how we enabled shopify endpoints. Best,Arun
Could you please provide guidance on BoxSDK?When retrieving folder IDs using BoxSDK, we are encountering an issue where multiple folder IDs are returned even though only one folder should exist.The following method is being looped, and more than 200 folder IDs are being obtained.Since we have specified modified_at for sorting, we suspect that this issue occurs because the timing of folder updates overlaps with the timing of the loop that retrieves folder IDs. Is this assumption correct?Also, could you please advise on how to avoid this issue?method : BoxClient.SearchManager.QueryAsync()parameter : limit:200,sort: "modified_at",offset:[1+200*n]
https://www.linkedin.com/posts/box_the-box-mcp-server-is-now-in-the-github-mcp-activity-7389044785325600768-GD3F/I just configured this and it is spectacular. All of our knowledge and best practices in one place. My team can simply use the ai_qa_hub tool to ask a question about our style and best practices. We have some specific SQL conventions we use and I had Github Copilot / Box MCP update the file. It came back with the specifics we needed. Exactly what I was looking for.I know other dev platforms allow you to put knowledge in their systems, but we have all of our other corporate knowledge in Box so this just keeps everything consistent and easy to reference.
Hi All,We are a Box enterprise customer having developer licence and are currently working on a integration project involving our developer account and the Box REST API. Specifically, we are building api to perform CRUD operations on the Box User object.We need to utilize the User Tracking Codes functionality to accurately tag our users upon creation. the issue is: The User Tracking Codes section is currently not visible in our Box Admin Console under Enterprise Settings > User Settings. Attempts to create a user via the API using the tracking_codes parameter result in a 400 Bad Request error, which is expected if the feature is not active. Question: Please help use to enable the tracking_codes feature for the our account.
Files uploaded years ago using OAuth2.0 were being re-uploaded recently as indicted by the dates on my box.com folder files. I checked the website which it originated from and it wasn’t updated recently. The old files were even actually deleted already from the website it originated from. Any ideas on why this is happening?
Hello, whenever I send a document for signature and I add in an attachment, the final signed version does not include in the attachment. EG I have file 1 and file 2. File 1 contains the signature requests but file 2 does not. After all parties sign the document, the finalized signed document only contains file 1 but not file 2. Is there a way to have Box export both the finalized signed file 1 and file 2 combined into one PDF automatically?
I am trying to move a file to another folder where a file with that name already exists. Right now this operation throws 409 “item_name_in_use”. I want to enable versioning on this file move operation. Is there any way to do this or do I need to download and reupload the file for versioning to work?AI suggested using `conflict_resolution = "replace" ` in the body but it did nothing. Is this hallucination?
Dear all.I have a business requirement involving multiple files of different formats that are uploaded at different times to the same folder. I need to extract data from these files and consolidate it into a single file. It is important to note that these files cannot be downloaded to the local machine; the entire process needs to be carried out on the BOX platform.My question is: Is it possible to use the BOX API to write this logic and then have it run automatically in the background at scheduled intervals on BOX?If anyone has experience with similar implementations or solutions, I would appreciate your insights or suggestions. Thank you for your help!
Hello! Has anyone used the no code platform n8n to create workflows? I am currently working on an image tagging workflow that would trigger when a folder is created in a specified box location, and then send those images to be tagged and then update the metadata being stored in a json file. When I create actions in the workflow like get files or get folders, I have no issues. But when I use a box trigger node to start the workflow, I get the following error message : Forbidden - perhaps check your credentials? Show Details Box Trigger: 403 - “”
SalesForce内の取引先、取引先責任者、商談に対して、同じ名前でBOXにフォルダが作成されるように設定されていたが、現在フォルダを作成することができない状態です。どうしたら、いいのか分かりません。
Hello all,I’m integrating Box in one iOS app using BoxSdkGen for swift (box-swift-sdk-gen).I have successfully implemented authentication and the upload - both small files and chunked big files, however it seems I can’t find anything in the docs or exploring the source to give me a way to track the upload progress. So my question is is there a way I'm missing to do that or any other workaround - probably implementing my own logic based on swift’s network tasks and so on.Thanks
There are several apps in our Box environment that I need to have deleted. I have them disable but our information security team wants them deleted. How do I go about getting them removed ASAP?
Dear Box Developer Support Team,I hope you are doing well.We are currently using the Box.V2 .NET SDK in our C# application to fetch files and folders from Box.We have a requirement to retrieve all files and folders within a specific date range (e.g., created or modified date) without providing any keyword in the search query.Our goal is to filter Box content by date range only — for example, all items modified between 2025-01-01 and 2025-01-31 — without specifying a search term.Below is the code snippet we are currently using: var searchParams = new BoxSearchRequest(){ Query = "", // No keyword ContentTypes = new List<string> { "name", "description", "file_content" }, FileExtensions = null, CreatedAtRangeFromDate = new DateTime(2025, 01, 01), CreatedAtRangeToDate = new DateTime(2025, 01, 31), Limit = 1000, Offset = 0};var searchResults = await client.SearchManager.SearchAsync(searchParams); However, when we omit the keyword (Query = "" or null), the API eithe
I am trying to get data after Selected Date in selected Folder I am using dll with Below Code in C# searchTermFiles = boxClient.SearchManager.QueryAsync( query: keyword, // Names, descriptions, text contents of files, and other data ancestorFolderIds: null, // Searches to specific parent folders contentTypes: new[] { "file_content", "name" }, // Can be name, description, file_content, comments, or tags limit: limit, // The default is 30 and the maximum is 200 type: "file", // Can be file, folder, or web_link, scope: "user_content", //fileExtensions: new[] { "docx" }, //createdAfter: isFirstTimeScan ? null : DateTimeOffset.Parse(keywordCollection.ModificationDate.ToString()), //createdBefore: DateTimeOffset.Parse
We are developing a third-party API in-house, and we’ve encountered an issue where, under certain conditions, file uploads via the API result in errors, preventing all files from being uploaded successfully. We would like to determine whether this issue is caused by our application or by specific limitations of the API.To investigate, we generated an API report using the "App Diagnostics" feature on the developer console for our API app at "https://xxxxx.app.box.com/developers/console/app/xxxx". In the report, we found a section labeled "HTTP Status", which showed error statuses such as 400, 409, and 499.However, the list of Box API HTTP status codes available at https://developer.box.com/guides/api-calls/status-codes/ does not provide detailed explanations for these errors. Based on this information, is there any insight into what kind of errors might be occurring? Could it be that we are hitting the API rate limits?
Hello all, I am using the Box API to upload files, which is working fine. But I would like to know is there a way to retrieve the “direct link” from the same api? And how would I set the sharing permissions so that my web app can access the file? My use case is:1- Upload an image using the box API.2- Retrieve the image URL.3- Use the image URL in a web app. (as an image source)Current issues:1- No clear way to generate the direct link from the API. It seems I have to share it in another API call. Or download it every time a user wants to preview it on the web app.2- No clear way to set CORS/viewing permissions without authenticating each user. (I would like to use my service account). What I’m looking for:-Add a property that automatically shares the file when it’s uploaded in the same API.-Have a whitelist for the web app domain or a way to allow it to preview without making the links public. Thank you!
I have install boxsdk python package by ‘pip install boxsdk’. But Still got error like ModuleNotFoundError: No module named 'boxsdk'Python 3.10.13pip 23.0.1 from /Users/elei/.pyenv/versions/3.10.13/lib/python3.10/site-packages/pip (python 3.10)Successfully installed boxsdk-10.0.1 This is a python example:from boxsdk import OAuth2, Client oauth = OAuth2( client_id='YOUR_CLIENT_ID', client_secret='YOUR_CLIENT_SECRET', store_tokens=your_store_tokens_callback_method, access_token=persisted_access_token, refresh_token=persisted_refresh_token,)client = Client(oauth)
Can somebody help me what’s wrong with my below code? I am getting error: PS C:\Script\UploadToBox> python UploadtoBox2.pyTraceback (most recent call last): File "C:\Script\UploadToBox\UploadtoBox2.py", line 36, in <module> main() File "C:\Script\UploadToBox\UploadtoBox2.py", line 31, in main folder = client.folders.get_folder_by_id(folder_id) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\sajkumar\AppData\Roaming\Python\Python312\site-packages\box_sdk_gen\managers\folders.py", line 425, in get_folder_by_id response: FetchResponse = self.network_session.network_client.fetch( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\sajkumar\AppData\Roaming\Python\Python312\site-packages\box_sdk_gen\networking\box_network_client.py", line 85, in fetch request: APIRequest = self._prepare_request( ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\sajkumar\AppData\Roaming\Python\Python312\site-packages\box_sdk_gen\networking\box_network_client.py", line 148, in _prepare_request hea
I need any Box Sign Certification – EU eIDAS Regulation Knowledge Paper, or any other official documentation verifying Box Sign’s compliance with relevant legal standards. I cant find any supporting document to the validity of box sign. as Box is not a Qualified Trust Service Provider (QTSP) under eIDAS, im tryong to understand what is the name of the QTSP (if any) that issues the qualified certificates when using Box Sign in Europe?
We are receiving a 500 server error when attempting a upload using the BOX API. Is any one else experiencing the same? Our application have not changed and have been working as of yesterday. Here is the error we are getting:{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}
I don’t understand how we are supposed to handle signing log files. If we keep them as they are now, every revision we release through the Box sign process will generate a new signing log. We’ll end up with multiple signing logs, for each file. On top of that, if we search for a file, these signing logs appear in the results, unnecessarily confusing users. I understand the advantage of having them available, but it doesn’t make sense to treat them as a normal file.What is everyone else doing?
I having an issue connecting When ever i call boxJWT.AdminTokenAsync().GetAwaiter().GetResult() I get this...Box.V2.Exceptions.BoxAPIException: 'The API returned an error [BadRequest | .029b2b393ff5677f7723883563acadb4] unauthorized_client - This app is not configured properly. No public key(s) added.'
i got empty error message and i dont know why
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.