A community space to collaborate on Box APIs, explore SDKs, and build powerful applications
Recently active
Hi @matt.riley When I use the “metadata-query” and specify a folder Id(parent folder), does it show results for all files under that folder and other subfolders or only under the parent folder ? On the same note, I used the command on 1 folder that has 1 file and got the following error box metadata-query enterprise_287697.Testing --219563937307 Unexpected API Response [400 Bad Request | 037667ddf3edfef86c49bc5058f7841c1.037667ddf3edfef86c49bc5058f7841c1] too_many_instances - Too many instances, and no supporting index available
Hi there, We’re facing a weird issue for a few days now. When trying to add an existing (app) user to an existing group, the API throws an error: curl https://api.box.com/2.0/group_memberships \ -H "Content-Type: application/json" \ -H 'Authorization: Bearer <token>' \ -d '{"user":{"id":"aaa59478bbb"},"group":{"id":"yyy2197xxx"},"role":"admin"}' { "type": "error", "status": 404, "code": "not_found", "context_info": { "errors": [ { "reason": "invalid_parameter", "name": "group_tag", "message": "Invalid value 'g_yyy2197xxx'. 'group_tag' with value 'g_yyy2197xxx' not found" } ] }, "help_url": "http://developers.box.com/docs/#errors", "message": "Not Found", "request_id": "awo09uhgm4qzv4ww" } First I though this is a permission related issue, but this has been working just fine for years and nothing has been changed recently on our end. Interesti
Box and Bubble.io are linked to call mp4 in Box from Bubble using video tags. I can’t play mp4 files over 50Mbyte via Bubble.io, but I can play 45MByte. Is there a capacity limit or other setting?
I am creating a custom application and would like to integrate Box Sign as part of the application. At the moment, I have a box developer account with two users. I used one user to create the application (in the developer console), and another user will be used to test Box Sign API. I don’t have any issues creating folders or uploading files using the API, but whenever I try to access the Box Sign Endpoint (https://api.box.com/2.0/sign_requests), it returns a 404 “not found” error. This link [ https://developer.box.com/guides/box-sign/ ] explains that the Box Sign API is only available for the following account types: Business, Business Plus, Enterprise, Enterprise Suites, and Enterprise Plus. This might explain why I am getting the 404 error, as I do not have a paid box account, only a developer account. Can someone confirm if the developer account can access the Box Sign Endpoint? I thought the developer account would allow me to complete my development work without restriction befo
When a new file or folder is added to Box it can take “up to 10 minutes” for the new content to be returned by searching (either via the UI or Search API). Is there an API call that will show if the file/folder has been indexed yet?
この記事では、コンテンツの事前チェック、アップロード、更新や分割アップロードなどのBox API機能を活用しながら、Pythonを使用してBoxにファイルを再帰的にアップロードする方法について説明します。 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%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%82%92%E5%86%8D%E5%B8%B0%E7%9A%84%E3%81%AB%E3%82%A2%E3%83%83%E3%83%97%E3%83%AD%E3%83%BC%E3%83%89%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95-dc6a55ce500c?source=rss----a995c24848a3---4
The generate downscoped token is valid for almost one hour. Let’s say i want to invalidate token after 20 minutes(Logout usecase). I am getting the following error, The API returned an error code {“error”:“invalid_request”,“error_description”:“The client is invalid”} The following specified code is not working. box-java-sdk/doc/authentication.md at main · box/box-java-sdk · GitHub Is there any other way, we can achieve this functionality ?
The Box Platform publishes events that can subscribed by applications. These events relate to any actions performed by either normal or service users. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/box-user-events-rest-api-python-3eb3d4d8d55?source=rss----a995c24848a3---4
I have a custom Box App that is set up App Token (Server Authentication). This type of config creates a service account and gives us an access token. I’ve had no problem using the Box API in the past with this token as long as the associated service account is given access to the appropriate folers. However, calls to the Box SIGN parts of the API return the following: { “type”: “error”, “code”: “insufficient_scope”, “status”: 403, “message”: “The request requires higher privileges than provided by the access token.”, “help_url”: “http://developers.box.com/docs/#errors”, “request_id”: “0aa1e51ed7348b0df97959af0e579f7e6” } Our admin has granted Box Sign access to this service account and I even re-authorized the app just in case. But I’m still getting this permission error. Are service accounts allowed to use Box Sign API? Keep in mind this uses a static APP TOKEN. It does not use OAuth
Dear Box Community, We are currently using Box.V2 version 5.2.0 library for .NET to interact with Box documents. However, we periodically encounter the following error: “System.IO.IOException: The response ended prematurely”. This error occurs most frequently when using the GetFolderItemsAsync method, but occasionally with GetRepresentationContentAsync as well. It is important to note that this error does not occur for all folders, and after waiting and retrying the request for a specific folder, the method can execute successfully. For our most recent run, we set a timeout of 10 minutes for the HttpRequestHandler. However, based on the logs, it is evident that for the folders where the error occurred, the connection was terminated after approximately 8 minutes We would greatly appreciate any insights you can provide regarding the potential causes of this error, why the connection is being terminated before reaching the set timeout and any suggestions for resolving it. Thank you for y
So I have been trying to authenticate the Box app with the Python SDK using JWT, but I am getting an error. “BoxOAuthException: Message: Please check the ‘sub’ claim. The ‘sub’ specified is invalid. Status: 400 URL: https://api.box.com/oauth2/token Method: POST” I have crossed checked the “enterprise_id” value which is specified in the config file (the box account which I am currently using is a personal one, so the enterprise in this case was showing as ‘0’). Also providing the python code which was written for this use-case: from boxsdk import JWTAuth, Client auth = JWTAuth.from_settings_file(‘/Users/pratyush/Downloads/0_pvp4byup_config.json’) client = Client(auth) service_account = client.user().get() print(f’Service User Account id is {service_account.id}')
I am using Laravel to query the Box Api endpoints. I am specifically getting an error on the Box File upload api. Here is the piece of code that I am using: Http::asForm() ->withToken($this->accessToken) ->post($this->uploadUrl, $attributes); Here is curl equivalent of the same: curl -H 'Content-Type: multipart/form-data' \ -H 'Authorization: Bearer {Token}' -d 'attributes%5Bname%5D=test.pdf&attributes%5Bparent%5D%5Bid%5D=12345&file=test.pdf' -X 'POST' 'https://upload.box.com/api/2.0/files/content' Please help.
Hello, I am working on a Python integration that requests Box API. My goal is as follows: to set up an automation that invites one or more individuals to collaborate on a file/folder. Once the invitation is accepted, an approval task is created on the file (or on each file within a folder) and assigned to the same person. However, how can I invite a user who does not have a Box account? The request to create a collaboration requires an object of type ‘User (Collaborations)’. Yet, I only have the email address and not a user ID. Thank you in advance for helping me through my issue. Antoine
During my sandbox app testing, I was shocked that, as a Signer, I could DELETE text fields that are for the Sender / (tagged as 0) And then I could set the text to anything I wanted. Is there a way to FORCE READ-ONLY on Sender text fields (which should be the default anyway)?? Note: I was switching to Text Fields from Dropdowns, as Dropdowns are not properly supported via the API yet. This is very frustrating. Also: I suggest the box devs try using Radio Buttons as a Signer to see how buggy they are. (Try selecting one, then selecting another–You will have to fight with it quite a bit–Unacceptable UX.) Thanks.
Hey guys, I am new to box development eco system, I am following the basic tutorial present in the documentation. When I am importing the Postman collection to my Postman, the collection is imported but it shows 0 APIs are present in the collection. Can any one help me with this
私には、パートナー、ベンダー、顧客、請負業者などの外部ユーザーと、安全かつ簡単にコラボレーションを行うためにBoxの使用を開始または拡大したいと考えている多くのお客様と会話する機会があります。Boxを「初期設定のまま」使用できることに非常に満足している人もいる一方で、このようなユーザー向けのカスタムエクスペリエンスにすでに多額の投資をしている人やそのエクスペリエンスを提供したいと考えている人、また、別のログイン機能を使用する別のアプリをユーザーに導入したくないと考える人もいます。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/box-app-user%E3%81%AB%E3%81%A4%E3%81%84%E3%81%A6-d3faab7b2bfa?source=rss----a995c24848a3---4
6月初旬に、Box Platformでは、SlackチャンネルへのBoxフォルダのマッピングを管理するための新しいAPIをリリースしました。また、管理者と開発者がBox CLIを使用して反復タスクを完了するための新しいスクリプトも最近リリースしました。今回は、Slack API用に統合マッピングを使用した新しい自動化テンプレートスクリプトをリリースします。 This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/%E6%96%B0%E6%A9%9F%E8%83%BD-slack%E7%B5%B1%E5%90%88%E3%83%95%E3%82%A9%E3%83%AB%E3%83%80%E3%83%9E%E3%83%83%E3%83%94%E3%83%B3%E3%82%B0%E3%82%92%E7%AE%A1%E7%90%86%E3%81%99%E3%82%8B%E3%81%9F%E3%82%81%E3%81%AEcli%E8%87%AA%E5%8B%95%E5%8C%96%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88-53f64573fa9b?source=rss----a995c24848a3---4
Hi there 👋, At Box, our goal is to develop new features to make your work easier, and we’d love your input on new ideas we’re cooking up. As part of that effort, we want to invite you to join 20-min online research study! We’d like to learn about your journey with Box Developer Platform and building automation solutions powered by Box APIs. Your experience and feedback is highly appreciated and will help enhance Developer Platform and shape the product roadmap. Please sign up for a time slot that works best for you here: https://calendly.com/mgrytsai-box/20min. It’s just a short conversation, but your contribution will make a big difference.
Box recently launched a brand new Box Developer Community for developers to directly engage with each other and with the developer relations team. But sometimes, you need an answer more quickly than just posting a question on a forum — enter ChatGPT! This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/should-you-use-chatgpt-to-jumpstart-developing-on-box-platform-476f1d391670?source=rss----a995c24848a3---4
We are developing a system using Java on Microsoft Azure AppService. I’m developing a feature that uses the Box API in a system I’m developing. Box API authentication is done via JWT using the SDK. An error occurs at “BoxDeveloperEditionAPIConnection api = BoxDeveloperEditionAPIConnection.getAppEnterpriseConnection(boxConfig);” at runtime. The error message is “class “org.bouncycastle.asn1.pkcs.rsapublickey”'s signer information does not match signer information of other classes in the same packag”. I am using Box SDK version 3.4.0. I would like to know the solution for this error.
When opening Box storage using Android SAF, content will not load until the Box app is opened in the background. Is this a Box app specification? Where should I see the full specifications of the Box app regarding SAF android? Any suggestion? Thank You
I often talk to to customers with use cases that revolve around reacting to certain things happening in their Box instance. Eg. when a file is uploaded in a certain folder, when a collaboration is added to certain sensitive content, when a document is signed or even when a file is previewed they want to take further action. This can be anything from notifying another system to start or continue a workflow, to looking up and applying metadata in Box from a different source. Obviously the Box first-party applications already support user notifications for these scenarios so in this article I will outline some approaches to the backend automation side of this. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/lets-talk-about-events-61a5c62fb77c?source=rss----a995c24848a3---4
Hi there, I have few folder on which i have given access to different users. Now to meet compliance I need to remove access after a certain frequency. I want to know ways through which i can remove this access (which i have given to 1000+ users) from a certain folder. Manually its very tedious. I can work in Java/python and cli…thanks for reading it. Thanks a ton.
Hi there, I would like to know is it possible to limit the OAuth authorization to specific folder much like how the scopes parameter works: https://account.box.com/api/oauth2/authorize?response_type=code&client_id=ly1nj6n11vionaie65emwzk575hnnmrk&redirect_uri=http://example.com/auth/callback&folder_id=somefolderid
Hi , i am not able to read Excel or CSV file from box drive using Java SDK , Whenever I am trying to read using Java SDK its going to login page ,even I did authentication in the previous step but no luck Is it really possible without downloading a file and directly reading from box drive.? Or am I missing anything? If so please guide me. Thanks in advance, SIVARAMAN A
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.