-
Recently active
Is there a way to tell if a folder/file has been deleted from the /files/{file_id} endpoint? Should I be including a specific field in the fields query param to get this data? Was looking at the example API response and it looks like there’s a field called "trashed_at" that indicated when a folder was deleted but if it hasn’t been deleted will that field be null or not even be returned? Same for Groups/Users?
We need to extract a full list of all folders in our Box repository for external security analysis. We thought using a query of NOT XXX might do so, but NOT seems to require a predecessor criteria, How can we use the API to return a full list of all folders even if we need to do multiple iterations?
Hello,I'm creating an user via .NET SDK (boxClient.Users.CreateUserAsync method) but user is being created with different email address. In the body request I'm setting email as <personal information-redacted> but in the result I'm getting something like "AppUser_2317968_daP2ZOIUIW@boxdeveditition.com". How I can create user with proper email address?Best regards,Damian Kochmański
I have problem about Access Token, I am trying to use Box API to upload file to box drive from other web, the problem is access tokens expire after 60min. And my app was built for normal User who don’t know how to get Access Token.Is there a work around about it ? Or is there anyway I can make that process to be automatic ?! My company have box drive Account paid version, Can that give me unexpired token !?
Hello,I am getting this error when I try to authorize using client id and secret client id : tulqzn7d3r33gqg90mblowikphufuo84It’s app access only and also the app is authorized.
I am trying to implement a particular functionality where i am trying to retrieve the download url of a file in one of the folders using box’s api.I have created a box application with OAuth 2.0 with JSON Web Tokens (Server Authentication).below mentioned is my application’s scope:Application AccessAll UsersApplication ScopesManage groups Manage retention policies Manage signature requests Read and write all files and folders stored in Box Manage app users Enable integrations Manage enterprise properties Manage users Manage Relay Admin can make calls on behalf of users Manage webhooks v2 Generate user access tokens I am using boxsdk python to write my functions / api’s. Below is my code snippet which mentions how my client is initialized and the api where i am facing the issue “Message: Access denied - insufficient permission”.user_to_impersonate = client.user(user_id='[USER_ID]')user_client = client.as_user(user_to_impersonate)def get_download_url(): """ API endpoint to get the
Hi All, we had a box developer sandbox created from enterprise admin user to integrate box sign service. we accidently deleted that that sandbox, we want to recover that because sandbox admin was not a enterprise user eg. myName+boxsign@companydomain.com within that sanbox/ admin user there is many important data, how can we recover that recently deleted sandbox. Any help is appreciated.
1. Data is available in reports but not via APIDespite being able to output data for events after December 13, 2024, using the BOX report feature, I am unable to retrieve the same data via the BOX API. The API consistently returns only events up to December 13, 2024. Could you help clarify why this is happening and how to resolve it?2. Scheduled executions do not save data after December 13When I set up scheduled executions of my script to fetch event data, no events after December 13, 2024, are saved in my system. Could you explain why the API is not retrieving or saving these events during automated runs, even though the data exists in the reports? // Function to fetch events from BOX API using the current stream_positionfunction fetchBoxEvents() { const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet(); const scriptProperties = PropertiesService.getScriptProperties(); const accessToken = scriptProperties.getProperty("BOX_ACCESS_TOKEN"); if (!accessToken) { Logger
I use to be able to authenticate as the subject_type user on the client id app kox474mes4cugrj929i4kh5enokukmltThis is a free account and the app is authorized and enabled.However, now it seems that the subject_type is being required to be set to enterprise. The problem with this is that as the enterprise, I have to add the "Automationuser" to the folder I want the user to upload to. This is a problem because I have been shared several folders and it would be a large coordination effort to have everyone add the "Automationuser" as an uploader. And this would break for any new shares if the user wasn't added.Is there a way to still be able to upload as the user that has access to those folders? I tried using the As-User header, but then that returns the error like the folder doesn't exist.
Hello,I want to create user invite via .NET SDK. I’m using boxClient.Invites.CreateInviteAsync method. I created another (personal) account on box.com and I’m trying to invite it to my enterpise. But I’m getting an exception with details:{"type":"error","status":400,"code":"bad_request","context_info":{"errors":[{"reason":"invalid_parameter","name":"login","message":"Invalid value <personal information-redacted>."}]},"help_url":"http:\/\/developers.box.com\/docs\/#errors","message":"Bad Request","request_id":"suqbwuhwiea7aeue"} Am I missing something?
Delete Folder Lock fails with 404 Not Found.{ "type": "error", "status": 404, "code": "not_found", "help_url": "http://developers.box.com/docs/#errors", "message": "Authorization Failed", "request_id": "0b3a714efe5a6f7110fc3281c015b0d2c"}I’ve authenticated with the Owner as well as made myself Co-Owner.I’ve reviewed: API [Content API] - 404 "not_found" Errors from the Box API – Box Support but doesn’t seem to help.curl --location --request DELETE 'https://api.box.com/2.0/folder_locks/297778732113' \--header 'content-type: application/json' \--header 'Authorization: Bearer ----------------------------------------------' \--header 'Cookie: box_visitor_id=66ec80484d6913.85943221'
2024-12-13 18:56:58.523 INFO [[ACTIVE] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)']The API returned an error code [403 | q8maaahwjvoa01l7.04b218b328508244f8ff0d76320de105e] storage_limit_exceeded - Account storage limit reached
When I run the folder creation API, I get the following error.What's the cause? { "error": "invalid_grant", "error_description": "Please check the 'sub' claim. The 'sub' specified is invalid."}
Happening intermittent, 3/5 executions are SUCCESS, 2 are getting failed with below error.In our UAT environment facing below error once in a while, Any suggestion how to fix?CODE: BoxDeveloperEditionAPIConnection boxConnection = new BoxDeveloperEditionAPIConnection(EnterpriseId(), DeveloperEditionEntityType.ENTERPRISE, boxConfig, null); Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxy-uat.apple.com, 8080)); boxConnection.setProxy(proxy);boxConnection.authenticate();ERROR:com.box.sdk.BoxAPIException: Couldn't connect to the Box API due to a network errorat com.box.sdk.BoxAPIConnection.executeOnClient(BoxAPIConnection.java:1259) ~[box-java-sdk-4.0.1.jar:?]Caused by: java.io.IOException: Unexpected response code for CONNECT: 403
I only used Box and Practice questions with study guide to prepare for the exam for 2 weeks.https://docs.google.com/document/d/1i5y-X-17RVirib6URVZOqzkIMd37Vw_6nBXuk07ahDc/edit?tab=t.0#heading=h.p6lesgmecr55
Specifically, I need to understand:If an app user or service account starts a pre-configured workflow through the API (POST /workflows/{workflow_id}/start) Can they add another app user as a task assignee at the time of starting this workflow? I've checked the Box Developer Documentation but couldn't find specific information about this capability. Any documentation references or real-world experience would be helpful.Thank you in advance for your help!
I am working on my first Box API calls. I am using Postman at the moment and was finally able to get the API to access a token to work and I have retrieved a token. I then take that token and send as authorization to the API to list the items in a folder. The Box application that was created for this purpose is a CCG application and I am passing the client ID and secret and the box subject type is enterprise.. When I call the API to get the folder items, it tells me “session expired” even though I had just retrieved the access token. What am I doing wrong?
Dear all, I like to create the applications that get the meta data, and enteprirse plus version already 100k PAI calls included. WHat kind of cost will be considered per a request? I would like to get the meta data of the each files, and folder, and structures, and i would like to search those through the app. I will implement the AI around this app. that extract some files contents, and display in the UI. Please help with this cost associated iwth the Box API
Can I change Max File Size from the Account details?or configure it for an user? we need to decrease the max size limit of the uploaded file
Iam trying to index the files to Open search using Box. I have a requirement for the incremental indexing. Whenever a file/folder is uploaded in Box, it should trigger the API and the files should be indexed into Opensearch.
Hello! We’re a company exploring cloud storage solutions for a project we’re building for our clients, and Box is at the top of our list. Before moving forward, we want to confirm whether the platform can meet some specific requirements, particularly around user access and download control.Below, I’ve outlined our key needs, and we’d greatly appreciate any insights on whether these features are supported natively or can be achieved using the API. Storage Capacity: We require at least 10TB of cloud storage to share with multiple users (between 100 and 1,000 users). Access for Users: Users should be able to access shared folders via the desktop app without requiring local storage space (e.g., files remain in the cloud and download on demand). They will have view-only permissions, allowing them to open and preview files but not edit them. Download Control: It is critical for us to monitor and restrict downloads per user over defined time periods. For example: Users on a trial perio
uri = URI('https://api.box.com/oauth2/token') token_request = Net::HTTP::Post.new(uri) token_request['Content-Type'] = 'application/x-www-form-urlencoded' token_request.set_form_data( 'client_id' => BOX_CLIENT_ID, 'client_secret' => BOX_CLIENT_SECRET, 'grant_type' => 'client_credentials', 'box_subject_type' => 'user', 'box_subject_id' => BOX_CLIENT_USER_ID ) response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == 'https') do |http| http.request(token_request) endI have the above Ruby code which has been giving an access token consistently for the past 6 months. However, yesterday it seems to be no longer providing the access token.Instead, now I get the response:{"error"=>"invalid_grant", "error_description"=>"Grant credentials are invalid"}I verified that the Box Dev App is still Enabled and Authorized. I also checked that the credentials hadn't changed. Is something else going on that I'm unawa
Hello, I have a box standard account and want to upload artefacts/files from our Gitlab pipeline to the account. Since the upload is done from a pipeline, I decided I created a box app with client credentials grant authentication. When I execute the authentication command below, I get : {"error":"invalid_grant","error_description":"Grant credentials are invalid"} curl -i -X POST "https://api.box.com/oauth2/token" \ -H "content-type: application/x-www-form-urlencoded" \ -d "client_id=craxv9gzavoiyj5knhu88kot0yv3sej6" \ -d "client_secret=XXXXXXXXXX" \ -d "grant_type=client_credentials" \ -d "box_subject_type=enterprise" \ -d "box_subject_id= 0"The client_id and client_secret are correct. I tried providing “user” as box_subject_type and my user id but it didn’t succeed either.Additionally, I also tried to set the access level to “App + Enterprise Access”. I read that I need to create a service account. However, I can’t find any settings to do this. I read in oth
Quando salvo o arquivo ele ate vai pra pasta, mas retorna esse erro
Hello,Please, anyone has some tips to solve this problem with images storage with BOX platform
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.