-
Recently active
Hi,I have a question regarding OAuth authentication in Box. Currently, we are using the Splunk Add-on for Box, and I am trying to configure the account using OAuth to collect file and folder metadata.I have configured an account using OAuth in the add-on to collect file and folder metadata. I have created a Client ID and Client Secret from one Box account and added these credentials in the Splunk Add-on for authentication. During the authentication process, the add-on redirects me to Box to authorize the request.However, I noticed that if I log in with a different Box account during authorization, the add-on still allows me to save the account without verifying whether the provided Client ID belongs to the logged-in Box account. As a result, the metadata retrieved for files and folders corresponds to the account used during authentication rather than the account from which the Client ID and Client Secret were generated.I would like to confirm whether this behavior is expected. Shouldn'
HiAs a service I need to scan files on box of Users. Since I will exceed the API limit under the quota given by Box as per purchase. My Client informed me the api calls made form Apps in Box integration are free. So, Is it true that If I make API calls from the clinet-id and client-secret that of APP published by us and added by our client will be free. Will this not be counted in quota.Since plan supports 100K API calls and can I make >100K API calls free.
What is the command to increase the storage quota for the Box platform account.How do we connect to other platform accounts from your own app.
Hello ! I'm currently developing in java and I can't get a folder created by another user, via API.I'm also using JWT authentication and have followed this documentation: https://developer.box.com/guides/authentication/jwt/with-sdk/Here's my Java class calling the Box APIs public BoxFolder getFolder(String folderId) throws BoxAPIException { return new BoxFolder(boxAPIConnexion.getAPI(), folderId); }However, here's the message returned :com.box.sdk.BoxAPIResponseException: The API returned an error code [404 | iw6ilehyqdmmt4w4.0bb5b98f9358163f0c50785d696f24cca] not_found - Not FoundDo you have any solutions?thanksTranslated with DeepL.com (free version)
Box AI just completed one its largest launches ever. 🚀 Checkout the blog below and find out all the new features available to developers! 📦✅ Box AI Studio API✅ Box AI API support for images, Hubs, and scanned documents✅ Box Doc Gen for Salesforcehttps://medium.com/box-developer-blog/new-box-ai-api-updates-e812b868457d
Does Box provide following details via Box API programmatically(https://developer.box.com/reference/) either directly or indirectly as follows,Subscription plan associated with Box account(Business/Business Starter/Business Plus/Enterprise/Enterprise Plus). Opted plan cycle(monthly/annual) and billing details. Box AI credits available and spent at user level and enterprise shared pool level and addition credits assigned in a Box account. (may be similar to the way it's exposed in admin console: https://support.box.com/hc/en-us/articles/34617574060691-Track-AI-usage-in-Admin-Console.)Please share from which Box APIs, these data can be fetched from. Thanks!
Hi All,i am getting the below error kindly help me on this.Error: can't authenticated on box HTTPSConnectionPool(host='api.box.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by SSLError(SSLError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:852)'),))Traceback (most recent call last):
I share links with collaborators and they have an expiration date set, but the links expiration does not work because the collaborators can use the shared links even after the expiration date has passed.
While search data based on created and updated Date I not get back anything.It’s give me 200 response But I am not able to get any entries from that.
We have one spring boot java service to scan events in an app create by users.One feature we have we download the zip of file uploaded and get the content of it and saved in our database as solr. Which will be access to that user only on our app.Previously there was no issue but now frequently service is halting on only when downloading zip and no further process is halted.When we restarted the service and scan again that event by start and end time it works fine.We checked the heap size that was not the issue.we are using now: 4.7 box sdk and java 8.Can anyone help if any issue and modification needed for this issue?
Using Python3, OAuth2. My application worked yesterday. Today, It does not work.
Hi there,I cannot generate the token using the credentials grant. I can however use the temporary token from the portal to upload the file.I am using the client credentials grant method mentioned in this URL: https://developer.box.com/guides/authentication/client-credentials/I have double-checked the box_subject_type and box_subject_id along with client_id and client_secret. It used to work a couple of months ago. The error I first started noticing was 4th of October 2024. Can you please help me with this?
Hi all! I deleted an app from my dev console. But I need to restore that app. The point is that the app is still available from my admin console, how can I restore the app from my admin console? Any help would be really appreciated!
Hello I am trying to search File With “Any” keyword I got the File.Here I apply the between date range Filter the filter Work on File uploaded date.If i want to filter the file on the Basis of File Created Date What i do ? I want to apply filter on Created and Modified date of File Properties
Hello, this is Nobuhiro Yane.I want to create a process that automatically deletes or unshares a specific folder when a specified date arrives.I want to do this with python code.There are settings you can make in the browser.However, I couldn't find the corresponding process in the box API.Maybe I just don't know about it, and it's written somewhere?If anyone knows, please let me know.Thank you.
Hello, this is Nobuhiro Yane.I have a question about the python code for "Create collaboration" in the Box API.The API reference says, "Collaborations can be created using email addresses, user IDs, or group IDs."However, there was no example of specifying an email address in the python request example.How should I modify the example below?Does anyone know? Thank you.(Example of request)from boxsdk.object.collaboration import CollaborationRoleuser = client.user(user_id='11111')collaboration = client.folder(folder_id='22222').collaborate(user, CollaborationRole.VIEWER) collaborator = collaboration.accessible_byitem = collaboration.itemhas_accepted = 'has' if collaboration.status == 'accepted' else 'has not' print(f'{collaborator.name} {has_accepted} accepted the collaboration to folder "{item.name}"')
The Box Doc Gen APIWe are incredibly excited to announce the Box Doc Gen API, now available with Enterprise Advanced plan!The Doc Gen API enables customers to dynamically generate custom documents in custom and third party applications, eliminating the tedious, time-consuming, and error-prone process of manually creating and modifying mission-critical documents while significantly improving operational efficiency. The Doc Gen API empowers teams to automatically generate custom, error-free documents in a matter of seconds — reducing turnaround times, mitigating risk, and eliminating manual data entry. With just a few clicks, your teams can leverage data from any data source, and instantly generate accurate, custom documents based on dynamic templates that handle everything from conditional formatting and dynamic tables to custom images and arithmetic calculations.With the Box Doc Gen API, customers can:Leverage the Box Doc Gen Template Creator in Microsoft Word to create dynamic Box Doc
Hello,We use DocuSign for the signature of all our sales orders. With the support of DocuSign, we have created an integration (or Connect) between DocuSign and Box. This captures sales orders as they are signed. We are also hoping to use this connection to download a bulk history of a load of DocuSign signed envelopes.We have tried this a number of times - from different browsers, clearing cache & cookies etc - to sync these legacy envelopes to Box. The publish and sync works, but each time, it delivers a different amount of envelopes to our connected Box folder. DocuSign are saying that because the CSV publish worked on their end (and shows 514 envelopes), the issue is with Box. However, we’re not getting that many envelopes in Box - maximum is around 250, but varies between approx 130 and 290.What else can I try to ensure the integration works as expected?Many thanks,Tom.
Hello all, I’m trying to upload my first app on box. I’m coding in python, using JWT authorization and my company Admin has authorized the application. When I make my authorization call to box, I am returned the following error: {'error': 'invalid_client', 'error_description': 'The client credentials are invalid'} At the moment, I’ve bypassed it with a developer token, but would still like to know what is causing the issue. Please help! Here is my code:'Import two classes from the boxsdk module - Client and OAuth2'from boxsdk.client import Client 'Configure the JSON'import jsonimport osos.chdir('C:\\Users\\Kanayo\\anaconda3')config = json.load(open('219128_0poxwjnz_config.json'))'decrypt private key'from cryptography.hazmat.backends import default_backendfrom cryptography.hazmat.primitives.serialization import load_pem_private_key appAuth = config["boxAppSettings"]["appAuth"]privateKey = appAuth["privateKey"]passphrase = appAuth["passphrase"]key = load_pem_private_key( data=privateK
We are using box sdk and we are facing issues in injecting data to our System as connector is taking a lot of time in retrieving the data from Box. We are investigating the performance issue.Need your help to check:1. Is there any API to check how many API calls are done and how many are remaining for a account? (Account having multiple users and groups) Is there any method in box sdk which we can use to log all the API calls so that we will be sure how many API calls are happening? We see there is an option of box report in console to check API calls. How is that working and is the API value shown there is per minute or total calls?
for some reason, I can create a shared link on the site, but it is not displayed during API requests. I tried to create a shared link to the file through the api, however, I get the 403 Forbidden error. What could be wrong? Do I need any special permissions?
I found this out only through errors beginning to show up in API responses.Previously, the following token url worked for getting an access tokenhttps://www.box.com/api/oauth2/token However, that endpoint is no longer functional as of around 12pm Pacific 1/21/2025The endpoint in the current documentation however does work:https://api.box.com/oauth2/tokenJust wanted to share in case anyone else runs into this as well as Box provided 0 notification of this change
Hello Box Team! Couldn’t find this in the documentation so I figured I’d ask here! When a webhook is created, will it notify me when permissions on a file/folder has changed?
I have been messing around a bit with metadata templates and Box API. I found that I’m required to use the PUT method when updating a file or folder, but I cannot for the life of me figure out why I keep getting errors from the server.https://developer.box.com/guides/metadata/instances/update/#:~:text=To%20update%20the%20metadata%20to,data%20on%20the%20template%20instance.Using the link above, I have been trying to get the payload to match this exactly, but to no avail.I have tried using “PUT” to post the payload, but I receive an unsupported media type, if I wing it and put POST, it says it’s a bad request.I use POST to apply the template in question, and it works just fine, but I seem to be missing the connection between Powershell, PUT, and updating metadata via Box API.Does anyone have an example of a successful metadata update via powershell? For a folder, specifically.
Hello. I’m hoping someone can help with this…I am trying to set up an app, to support the migration of some files from Box to a different storage system.I’ve set up the app on the developer console and it is showing as ‘Pending authorisation’, waiting for our admin to approve.But I am the admin and I’ve not received any emails or contact about it.Any advice on how I can get authorised?Thank you!
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.