All things API and SDK related
Recently active
Hello,I am trying to upload a document but am receiving error 400 (API upload did not contain a file part).I have to use an application called 4D to submit the http request using the following code… $boundary:=Generate UUID $crlf:="\r\n" $bodyPartTxt:="" $bodyPartTxt:=$bodyPartTxt+"--"+$boundary+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Disposition: form-data; name=\"attributes\""+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Type: application/json"+$crlf+$crlf $bodyPartTxt:=$bodyPartTxt+$attributesText+$crlf $bodyPartTxt:=$bodyPartTxt+"--"+$boundary+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Disposition: form-data; name=\"file\"; filename=\""+$docName+"\""+$crlf $bodyPartTxt:=$bodyPartTxt+"Content-Type: text/plain"+$crlf $bodyPartTxt:=$bodyPartTxt+"Some text."+$crlf $bodyPartTxt:=$bodyPartTxt+"--"+$boundary+"--" ARRAY TEXT(aHeaderNames; 0) ARRAY TEXT(aHeaderValues; 0) APPEND TO ARRAY(aHeaderNames; "author
We are looking to interact with millions of files. We have noticed on the box site that Enterprise business plan has a limit of 100,000 API calls per month. Can this rate be increased? If so, what can it be increased to?
I have set up an application. I have specified the authentication method as OAuth 2.0 with JSON Web Tokens (Server Authentication) I have specified the app access level to App + Enterprise AccessI have valid oauth2 credentials. I have the following application scopes enabled.1- Read all files and folders store in Box Access to content is further restricted by the user' permission and Access Token used 2- Write all files and folders store in Box Necessary to download files and folders. Access to content is further restricted by the users' permission and Access Token used. Read access is required when Write access is selected. 4- Manage Users 5- Manage Groups 6- Manage retention policies for use with the governance add-on7- Manage enterprise properties for use with the event stream, enterprise's attributes, and device pins. App + Enterprise Access is required to use this scope. Manage enterprise properties for use with the event stream, enterprise's attributes, and device pins. App
Hello, new member here. I have a question concerning the connection to Salesforce.I asked the Admin of our account to make my account a co-admin with all the rights to connect Box to Salesforce but the admin is getting an error that indicated nothing. Just Impossible to modify user.Does anyone have a Lead or a Box contact I can get help from ?Thanks
Hello,I have had a script working for a while and recently I started getting errors.Example:box storage-policies:assign 1111111 22222222Errorbox : Unexpected API Response [403 Forbidden | 0c905f030dd35551650c37d06ecdc251d.0c905f030dd35551650c37d06ecdc251d] forbidden - Purchase validation failed.I’m not sure why this started happening. I’m about to go through setup again in hopes it will fix it.
In this article, learn how to recursively upload files to Box using Python, while taking advantage of Box API features such as pre-flight check, upload, update content, and chunked uploader. This is a companion discussion topic for the original entry at https://medium.com/box-developer-blog/how-to-recursively-upload-a-folder-to-box-using-python-446dd5ec6305?source=rss----a995c24848a3---4
Hi Everyone,Is there any behavior change in Get Token functionality recently? We are not able to get any token from Box.Regards
Hi,I’ve been going around in circles for the last hour and a half trying to figure out how to use a Limited Access App on a free account. Is this even possible? I’ve seen various posts from a year ago saying this feature had been “temporally” disabled, is it still “temporally” disabled? I’m up to the point of trying to authorize the app but none of the menus as described in this tutorial are visible for me. Cheers,Michael
We want to avoid getting charged when moving some files from box to sharepoint. apparently there is the API issue where we have to manually download one file by one file vs using boxs ability to download and move but we wanted to make sure we knew the exact difference and options before we spent hours moving files for an important peoject.
I'm having problems with API requests to my Box.com account. I'm trying to read the contents of an XML file in Box, but I'm getting a 403 error code. Is this because I only have a starter account on Box?
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
Using .Net SDK and the C# languageHi AllIt’s First time using this forum and the .Net SDK as well.My manager has asked me to create a prototype proof of concept app to create a signed document from our laptops. The users running the app will have their own Box Accounts.When the user executes the app, it will…Upload a document to their box account. The Box Sign behaviour, [Sign Myself], will activate and the user will fill out their signature. The Signed Doc and Log is created. The Signed Doc and Log is downloaded to the users laptopThe issue is that in order to get Box Sign to activate I Create a Sign Request which requires a Signer, even though the user is whom I want to sign the document and the behaviour is not the same as how it acts in [Sign Myself].What am I missing?Very Rough code below… BoxDeveloperTokenAuth auth = GetTokenAuthorisation();BoxClient client = GetBoxClient(auth);// Upload Filestring fullPath = @"C:\Users\srodney_dev\AppData\Local\BoxTest\TesstingBoxUpload.docx";/
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,We have a need to upload documents to one of our clients. The uploads will be done via a command line Windows app written in C# using the Box .NET SDK. We have this already in place for 2 other clients which I’ve done by creating a Platform App for each client. Each Platform App uses the OAuth 2.0 with Client Credentials Grant (Client Id and Client Secret) for authentication. Following this pattern I created a Platform App for this new client and it’s awaiting Box Authorization. However, I can’t find my notes on what needs to be done by the client once the Platform App is approved. I believe something needs to be done with the Service Account ID once the App is approved, and they need also need to provide us with the ID of the folder in which we will be uploading documents to but I don’t remember the steps that were done for the other two clients.Can you provide me with any guidance on what needs to be done and/or point me to the Box documentation that describes this process.
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):
CLI installation and command line Box login -n example_name > error as below How can I solve this error? Redirect URI = http://localhost:3000/callback client id and client secret may be correct. Error: redirect_uri_mismatch Show Error Details response_type=code redirect_uri=http://localhost:3000/callback state=ndJjebiBosm-3K06PdUAlZvCduS_ofoB client_id=clyd1w6ectfsns7p90uq2olth66ax69j
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?
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.