A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
Was trying to create an app user following this guide, developer.box.com App Users - 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 and with the following api request: POST - https://api.box.com/2.0/users request: {“is_platform_access_only”: true , “name”:“test”} response: { “type”: “error”, “status”: 403, “code”: “access_denied_insufficient_permissions”, “help_url”: “http://developers.box.com/docs/#errors”, “message”: “Access denied - insufficient permission”, “request_id”: “avrw5xhevqe1xti8” } What is missing? Can you please assist? (I have verified I have sufficient permissions to create a user which is not an app user and it was created successfully) Thanks
最近Boxが開催した社内ハッカソンに、Box API用のRustクライアントを作成するというアイデアで参加しました。この演習には3つの目標がありました。Rustは、システムプログラミング用に特別に設計された堅牢な言語です。多くの利点があります。RustでBox APIクライアントを構築することで、メモリの安全性、パフォーマンス、並行処理と並列処理、開発者の生産性、クロスプラットフォームの互換性など、主要な機能を活用できます。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/rusty-box-box-api%E7%94%A8rust%E3%82%AF%E3%83%A9%E3%82%A4%E3%82%A2%E3%83%B3%E3%83%88%E3%81%AE%E4%BD%9C%E6%88%90-5948c3f1bc2d?source=rss----a995c24848a3---4
Hello, I am using Box API Python SDK to list files. The metadata of files is important for my work. The files in the source folder are uploaded by myself and I am in UTC+09:00 timezone. But when I list the files using the API, all the timestamps returned by the API are in UTC-07:00. Please let me know if that is the default case? or is there anything I can do. SDK Version: 2.7.1 API: client.search.query(...) Thank you 🙂
I’m trying to build some features using the Folder Lock API: https://developer.box.com/reference/post-folder-locks/. However, when I try to do a simple curl POST command to lock a folder, I always receive a 404 “not_found” regardless of the folder I pass to it. The GET command works fine and obviously returns an empty array since I haven’t successfully locked a folder yet, but I know the endpoint and my access token works fine. Are there other exceptions to this feature that aren’t documented? I have ensured I am the sole owner of the folder (no co-owners), but it has been shared with others a Editors. For added detail, I am using the Oauth 2.0 method for access. Any help/guidance on locking folders via the API would be much appreciated!
Hello, I am having issues using the box-ui-elements React package. I have gotten the other “simpler” react components to work correctly with a developer token, but for w/e reason the ContentPreview component never renders the preview of the file. There are 0 errors in the console and if I enable the header it is able to display the file name correctly. So, the file ID is correct and the dev token is accurate since it works with other components on the same screen. Is this a known issue? It doesn’t seem like a sizing issue since it’s given plenty of space and the other components work just fine. Is there a working example repo I could run and supply my dev token & file ID to and see if it works? I ended up just using the raw JS CDN approach that some of the Docs outline to display the ContentPreview and that works just fine. So, I ended up just removing the entire box-ui-elements package since it wasn’t buying me much. I would like to actually use the package though since it is simp
Hi Rui, Thank you very much for your answer. This is exactly what I was looking for. Now I think the way to achieve my goal is to create a webhook with ‘COLLABORATION.ACCEPTED’ trigger, that way I can assign the approval task to the user. So I need the user id to assign the task. But is ‘collab.id’ the user id? The API documentation doesn’t say so but I note that you wrote ‘Collaborator:’. Cheers
While sending multipart-form data POST request to BOX from ServiceNow, I am getting this error from the Box API: {“code”:“bad_request”,“help_url”:“http://developers.box.com/docs/#errors",“status”:400,“message”:"API upload did not contain a file part”,“type”:“error”} The payload which is being sent over on this request, looks something like this: –xXxxxxxxxxxxxxxxxxXx" ,Content-Disposition:form-data; name=“attributes”,{“name”:“config.txt”,“parent”:{“id”:“0”}},–xXxxxxxxxxxxxxxxxxXx,Content-Type:text/plain,Content-Disposition:form-data; name=“file”; filename=“config.txt” ,[B@7e8de4,–xXxxxxxxxxxxxxxxxxXx– Any idea of what I am doing wrong here?
Hello, I came across an article discussing the monitoring of user activity on files and the process of extracting them using the GUI. Box Support Tracking User Activity on Files Box enables you to track user activity on virtually any file in two ways: Recent activity, via avatars that display when you preview a file Lifetime activity via Content Insights, which provide co... I’m curious to know if this functionality is currently available through an API or if there are plans to make it available in the future. Thank you!
Hi all, I have been currently tasked to automate the transfer of reports on a network drive to a shared folder on box. I was told to use box cli in conjunction with batch scripting to complete this. I have hit a roadblock in the creation of said script, and was looking for some additional perspective, as I may have missed a command or argument. Attached below is the “script” I tried to create for this project: robocopy "\\Network Folder" "\\Network Folder Archive" /MOV *.xlsx box folders:upload "\\Network Folder Archive" --parent-folder=(Shared Box Folder ID) The roadblock I have hit is in the transfer to box. Because box cli doesn’t overwrite folders, I cannot update the folder with new reports that come in. The other direction I wanted to take was to upload all of the files in the folder directly to box, but I couldn’t find a command to send all of the files to box at once. I experimented with the bulk csv commands, but because the monthly reports are going to have different file n
I talk to a lot of customers who want to start using or expand use of Box for secure and easy collaboration with external users like partners, vendors, customers and contractors. Some are very happy to use Box ‘out of the box’ but others already have a significant investment in a custom experience for these users or a desire to provide it, and don’t want to introduce a separate app with yet another login for their users. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/lets-talk-about-box-app-users-3ee3692c64f1?source=rss----a995c24848a3---4
Hi, i’m new in programming. I’m developing a website that needs a Cloud. And our boss wants the BOX Cloud Services. I have little knowledge in API. I can’t a tutorial in youtube that specifically deals with how to integrate Box into a website, how to upload and retrieve data. Can someone please help me
開発はやりがいがありますが、時には苛立たしいこともあります。だからこそ、緊急の課題について質問する適切な場所があることは重要です。開発者のニーズ、問題、質問への対応として、Boxは、専門家と愛好家が集まり、アイデアを交換し、問題を解決して、Boxの技術領域のコミュニティ意識を育むことができるコミュニティフォーラム (英語のみ) を立ち上げました。このコミュニティは、生産性を自動化および改善する方法を模索しているBox管理者にもご利用いただけます。誰もが歓迎され、あらゆるテクノロジと経験レベルの人が交わる場所です。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/%E6%96%B0%E3%81%97%E3%81%84box%E9%96%8B%E7%99%BA%E8%80%85%E3%82%B3%E3%83%9F%E3%83%A5%E3%83%8B%E3%83%86%E3%82%A3%E3%81%AB%E3%81%94%E5%8F%82%E5%8A%A0%E3%81%8F%E3%81%A0%E3%81%95%E3%81%84-908f62bfa6c9?source=rss----a995c24848a3---4
Box Enterpriseユーザーは、Microsoft Teams、Salesforce、Zoom、Slackなど、1500以上の統合を利用できます。人気の高い統合の中にBox for Slackがあります。このアプリケーションには、共有ファイルに対する権限をすばやく選択および共有する機能、Slack内で直接Box通知を受信する機能、Slackでのすべての会話に単一の安全なコンテンツレイヤーを提供する機能など、便利な機能が用意されています。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/box-api%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%9Fslack%E3%83%81%E3%83%A3%E3%83%B3%E3%83%8D%E3%83%AB%E3%81%A8box%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E9%96%93%E3%81%AE%E7%B5%B1%E5%90%88%E3%83%9E%E3%83%83%E3%83%94%E3%83%B3%E3%82%B0%E3%81%AE%E7%AE%A1%E7%90%86-7ce23f8d004f?source=rss----a995c24848a3---4
Recently Box held an internal hackathon, and I participated exploring the idea of creating a Rust client for the Box API. What was I thinking? I wanted to see what it would take to build a Rust client for the Box API. Rust, my friends, is a powerful language designed for systems programming. It comes with a bunch of awesome features like memory safety, performance, concurrency, and developer productivity. So, why not harness its power? Sure, Rust may not be the easiest language to learn, but it’s like a strict teacher who won’t tolerate any errors easily. And you know what? I’ve come to appreciate its capabilities immensely. After working with Python for a while, I found myself yearning for a more disciplined approach, and Rust fit the bill perfectly. Now, you might be thinking, “But wait! Box already has SDKs for C#, Java, Python, Node, iOS, and Android. Do we really need Yet Another SDK (YASDK)?” Well, we’ve got you covered. If your favorite language isn’t on the list, you can always
I have created an app with a v2 webhook. The webhook triggers a JAVA application when it runs locally everything is good, but when the same application is being run inside a VM, the webhook is not getting triggered. Can anyone help what could be the issue or where can I see the logs to find the problem?
Recently Box held an internal hackathon, and I participated exploring the idea of creating a Rust client for the Box API. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/rusty-box-creating-a-rust-client-for-the-box-api-404fc3f5b03a?source=rss----a995c24848a3---4
Development can be rewarding, but sometimes it can also be frustrating. That’s why having the right place to ask burning questions is priceless. As a response to developer needs, problems, and questions Box is launching a community forum where professionals and enthusiasts can come together to exchange ideas, solve issues, and foster a sense of community within the Box tech realm. The community is also dedicated to Box administrators who are looking for ways to automate and improve productivity. It’s a place where everybody is welcomed, all technologies and all levels of seniority. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/join-our-new-box-developer-community-d4f2fc3d2157?source=rss----a995c24848a3---4
Box enterprise users enjoy 1500+ integrations like Microsoft Teams, Salesforce, Zoom and Slack. Among the most popular integrations is Box for Slack. The application offers convenient features such as the ability to quickly select and share permissions for shared files, receive Box notifications directly within Slack, and provide a single secure Content Layer for all conversations in Slack. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/managing-integration-mapping-between-slack-channels-and-box-folders-using-the-box-api-2dca6074b17a?source=rss----a995c24848a3---4
Have general or non-technical questions about Box Platform? Looking to answer questions like, “Can I…” or “How does…?” This is your space.
この記事では、開発者がBoxクラウドにコンテンツをアップロードするために使用できる3つの方法 (通常のアップロード、分割アップロード、手動アップロード) について説明します。各方法にはそれぞれメリットとユースケースがあります。ここでは、Box Python SDKを使用してこれらの方法を実装する方法について説明します。この記事を読み終えると、使用できる各種アップロード方法と、特定のニーズに最適な方法について理解を深めることができます。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/python%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6box%E3%81%AB%E3%82%B3%E3%83%B3%E3%83%86%E3%83%B3%E3%83%84%E3%82%92%E3%82%A2%E3%83%83%E3%83%97%E3%83%AD%E3%83%BC%E3%83%89%E3%81%99%E3%82%8B3%E3%81%A4%E3%81%AE%E6%96%B9%E6%B3%95-db0e26ec3d74?source=rss----a995c24848a3---4
Get started with the Box Python SDK, using OAuth 2.0 in under 3 minutes I was looking for a way to get developers started using the Box platform as quickly as possible. Although Box provides many authentication methods, a recent incident with free developer accounts forced Box to limit the options for new free developer accounts. So I’ve decide to create a Python template application with built in OAuth 2.0, ready to go, allowing you to immediately start sending requests to the API. Create a free Box individual account Navigate to the personal sign up page, fill in your information, and submit. No credit card required… Box registration page for free individual accounts Complete the registration process, verifying your email. Tip: If you have a gmail.com account and don’t want to create a brand new account just for this, you can use something like your.normal.email+box@gmail.com. You can also use this to create multiple free accounts on box under the same email, and still be able to d
Question from developer: When working with BoxCLI or the Node SDK, the examples reference a file path to a .pem file. How do I create a .pem file, and have it work with the box app?
Got an interesting question from a developer: I would like to maintain the tags assigned to Box in bulk, is there any good solution? I was considering a way to use Box CLI, but the description of the CSV template does not mention tags, so I am looking for a solution. What I want to achieve and the conditions are as follows. What we want to achieve: I want to change the tags assigned to files in bulk with CLI. (e.g. tagA→tagB) I want to delete all tags assigned to files in bulk with CLI. Conditions: I am not an admin user. I am an ordinary user of a company.
Got an interesting question from a developer: Hi Team iI am new to Box REST API. Is it possible to download folder and all of its sub folder/files in 1 call ? if yes, whats the code for that in Python? I checked available docs and at link https://developer.box.com/guides/downloads/folder/ I can see there is some code to download folder contents but thats in .Net, Java and Node. Do we have something in python?
Got an interesting question from a developer: I have been provided a box folder from another user for me to upload files. I have a lot of files to upload to this folder. I created a personal account so I can get access. The files are on a remote Linux box. Is there a convenient way to bulk upload these files from the command-line? I’ve tried different ways (SFTP, generating access token, etc) but having issues with one restriction or another. I posted to your community support page but haven’t heard back. What’s the best way to bulk-upload from Linux to Box?
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.