All things API and SDK related
Recently active
I configured a raspberry pi 4 to be a cellular modem using the SixFab cellular modem kit The kit includes a SixFabBase Hat, LTE modem, antennas and a Sixfab core. I am using a in house sim card. The pi runs a python code to find the RSSI, RSRQ & SINR values every 5 minutes using Cron. Then another code to upload the text file to box every day. The issue I am facing here is that is that the JWTAuth is not working for me. Apparently, it doesn’t recognize my folder. It says it is it uploading the files to the root folder but I don’t see the file there as well. The codes are given below.Modem Signal Loggerimport subprocessimport timefrom datetime import datetimedef get_modem_signal_info(): try: # Run the AT command using atcom and capture the output result = subprocess.run(['/home/genwave/.local/bin/atcom', '-p', '/dev/ttyUSB2', 'AT+QENG="servingcell"'], capture_output=True, text=True) output = result.stdout.strip() return o
I tried to call API to create a Folder in user account but getting not authenticated with req id : 016d6612bbfea666f33a2c21999014df4I am coadmin and also app is authenticated as I can fetch all usersI am getting 403 and code is forbidden
i am facing issue to get authentication using oauth .when i tested from postman it is getting 404 error. Please help to create app and to access folder in Box from postman
Hi, I’m looking for a way to get all shared links in an enterprise using the API. All the answers I found on this topic are 1+ year old, and just wanted to confirm, is there still no ability to get all shared links in an enterprise in the Box API?And if so, could I be provided a bit more context on this workaround that I saw on an old thread: “If you're using the SDK, you could always crawl through the entire set of users in the enterprise and check every file or folder they own for a shared link”How would we crawl the folder of another user, when the root folder just has id 0? And what kind of permissions would this require?
We have a new blog post to checkout on our Medium site. This demo goes over how to connect Box & Pinecone. https://medium.com/box-developer-blog/demo-box-pinecone-f03783c412bb Please check it out!
Hi all,We're having an issue with content uploader. In case when not all files were upladed successfully "onComplete" event is not triggered. I found in the source code that there is a "isPartialUploadEnabled" property which allows "onComplete" to be triggered in such cases.This property is not documented in the docs nor in content-uploader readme when describing properties , but it's present in the exported interfaceMy question is can we use and set this option when calling uploader.show() or this is a subject to change and it’s not intended to be used when instantiating uploader instance ?
Hi Development Team,As part of our project we need to upload documents to one of the folder in Box CLI. We have folder ready in Box CLI and commands to be given in command prompt. Here we wanted to automate the commands which we are giving in Command prompt of our system using bat file. But it is not accepting the Client Id and Client Secret. Could you please help us to automate this process.Thanks and RegardsSravya Pericherla.
I have a single download API “https://api.box.com/2.0/files/:file_id/content” with this i can able to download only single file only. But i want to download multiple file separately using single download API. I dont to want “ZIP Download method” Because i want separate files(Eg: Sample1.pdf, Sample2.pdf, Sample3.pdf...). Can any one say How to implement this as a solution. Thanks in advance.
I’m using the following call to retrieve events from Box. EnterpriseEventsRequest request = new EnterpriseEventsRequest().types(eventTypes).limit(10).after(null).before(null) eventTypes is an array of BoxEvent.EventType. For all other events, DOWNLOAD, LOGIN, etc. the call is correctly returning only event types that match. When I use ITEM_CREATE or ITEM_UPDATE, the filter is basically getting ignored and it’s returning random events. I’m using the 4.11.1 version. Any ideas of what could be wrong?
Hi ,I have to use this UI elements and box preview api in angular project along with node >=18. please help me out which angular version was support for this.Thanks in advance
I’m building an automation that triggers a folder creation in Box, then using that new folder I’d like to send the file_request url of that folder to a customer so they could upload documents to that folder. Each automation will have it’s own separate folder. The problem is I can’t seem to find a way to retrieve that file_request url for users to upload their files to unless I manually go into the console and copy it. Is there another way to automate this process? It seems silly that we can query the shared_link for a folder, but not the file_request. Any help would be appreciated. Thanks
We need to know when folder has already been created inside app..box.comwe are using salesforce SDK likeresult = boxTools.createFolderForRecordId(recordId, null, true); system.debug('result:' + result); boxTools.commitChanges();it returns back new folder Id but there is a need to wait for some time to see the change both in salesforce and using a link like app.box.com/folder/{folderId}is it possible to achieve it?
While using the Box App on my Ipad files will not open immediately. The loading icon appears and continues to run for several minutes and file never opens. Has anyone had this issue and if so what did you do to resolve it.
For our API integration when calling this endpoint GET `/files/{file_id}` the return value for modified_by occasionally returns empty strings for the “name” and “login” fields. Example: { "type": "file", "id": "<file_id>", "name": "Outline.doc", "parent": {"type": "folder", "id": "<folder_id>", "name": "My Documents"}, "extension": "doc", "size": 20480, "sha1": "<hash>", "item_status": "active", "owned_by": {"type": "user", "id": "<user_id_1>", "name": "<name>", "login": "<email>"}, "created_by": {"type": "user", "id": "<user_id_2>", "name": "", "login": ""}, "modified_by": {"type": "user", "id": "<user_id_2>", "name": "", "login": ""},}when following up on this call and querying the user_id with GET `/users/{user_id}` the API is returning a 404 not found status.What is this mystery user? Am I doing something wrong in my calls that might be causing this? The call is correctly using the `as-user` header whe
Hi there,I am using the Embedded Signing Experience to embed signable documents into a web page using an iframable_embed_url. I use the Create Box Sign request API to retreive the embeddable URL. The embed is working fine, including te signing functionality, but my document contains one user-fillable field whose value I need to retrieve after signing. In the Sign Template editor, I've given the form field an External Identifier to make the input easer to find, but I can't find a way to fetch what the user put into that field after signing.I hoped that the "Sign Completed" webhook would include all the document's input data, but it does not. https://developer.box.com/reference/resources/webhook-invocation/Then I took the Sign Request ID (additional_info.sign_request_id) from the webhook response, and passed it to the "Get Box Sign request by ID" API. Despite the documentation showing Signers and Inputs on the response, that data is not present in my response. https://developer.box.com/r
I am using Box SDK to find a folder to which I am a co-owner. In the process I try to fetch all folders/items from root level (folder_id =0) and the total_count is always 15 while there are almost 26 items in it. Some folders are not showing up in the fetch list. Not sure why get_items is not pulling all the items at root level. Both offset and marker pagination is not working.Not sure what could be the cause. I asked a folder owner to create a new folder and add me as co-owner, still that folder is not showing in the fetch list either. No clue where the total_count is set and how to override it.
Hi there,I'm using the Embedded Signing Experience to show my users a document they need to sign. I call the Create Box Sign request API to retreive the embeddable URL, and immediately embed the iframable_embed_url onto my page. At this point, the cloud matching captcha displays. If I wait 5-7 seconds and then complete the captcha, the signable document displays. But if I complete the captcha immediately, the page shows "Invalid Link: This request link is invalid."It seems like the template file gets copied to make a signable instance at the same time the endpoint returns, but the document copy is not finished yet, and if the users proceeds too fast, they attempt to access an instance that isn't done being created yet.
I would like to download the signed document after all the signers have completed the signatures. In trying to do so, I am trying to call download API by providing the file id:https://{{api.box.com}}/2.0/files/{file_id}/contentAfter checking the status of sign request, which is “signed”, I am trying to download the document. However, it is still resulting in the document which is not signed/without signatures.Can you please help me understand, how to get the signed document through API.Thanks in advance.RegardsVenky
Your SSO connection had errors during set up. In order to help troubleshoot your connection, please submit a case to Box User Services here.
We have successfully enabled the GCM scope on our Custom App through Box Customer Success. However, we would like some clarification regarding the authorization process for our customers. Specifically, when a customer authorizes access through our app, will the GCM permission scope automatically be enabled for their Box services?Or will we need to involve Box Support for any additional intervention to ensure that the GCM scope is active for the customer's account?
When I use the Quick Shorcut to create an Content Search API call on Box it works just fine. However, my end goal is to use that same API call to bring the JSON into a Neo4j graph database. When I alternate making the call first in Postman and then in Neo4j, using the same authorization token, the Postman call continues to work and the Neo4j call always fails on authorization with the same token. How can I fix this?
When I use Postman to execute a content search such as:https://api.box.com/2.0/search?type=folder&fields=id, name, owned_by, parent&query=A&limit=10Only some fields are displayed. When I remove one field another field which wasn’t previously returned shows up. Are there limits or constraints on the fields parameter? Also, can you specifiy fields at the next level down such as parent.id?
I'm trying to find the best way to list all items in Box that exist under the root folder and have been updated after a specific date. I've looked into a couple of API endpoints, however:1. `/search` - It seems to require a query string or metadata template.2. `/metadata_queries/execute_read` - It seems to require setting up a metadata template.My goal is to query items based solely on their update date, without relying on any metadata. Is there a straightforward way to achieve this using the Box API?
System.HttpRequest[Endpoint=https://api.box.com/2.0/files/####/, Method=GET when calling above api we are getting this error.System.CalloutException: arraycopy: last source index 32 out of bounds for byte[31] We seem to be getting this error periodically at random intervals. I removed the number in the endpoint and replaced it with #### for the sake of this post.
I have an application running out of my Oracle based IdM system that updates group membership. This process broke down due to the process using an OAUTH2 based authentication. I have create a new app that uses different auth, and now we can read all the groups and group members. However, when we try to add a group member, we get:403 - access_denied_insufficient_permissions - Access denied - insufficient permissionThis is from an Oracle PL/SQL app, using the APEX_WEB_SERVICE.MAKE_REST_REQUEST function. The same one that we used to get the list of groups and have been using for 10 years to create users and groups. The app gets a token (if needed - tracks the expiration date in the database), and makes the request. It also logs the token, url and request body. If I copy and paste these values into Postman and POST it, it works fine - same token, same URL, same body. I expect I am missing (or including) some header or cookie, or some other magic, and the API which causes the failure.
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.