-
Reading content from a file and show it WITHOUT downloading
hi all, Currently I am developing an Android App with Android Studio and I got Dropbox API to get information from Dropbox. I am blocked with a method to get information from Dopbox account (.txt, .html, .jpg whatever file is displayed there) and display it on the screen of the simulator without download that file in any…
-
Migrating App Permissions & Access Tokens
Hi there, I have an Android app which uses a dedicated Dropbox folder. I just want to check that when I use the App Console to migrate to the new SLT model, the current access tokens that my users have will still work - is that correct? And I can then decide when to 'flip the switch' in my Android app's code to use the new…
-
Share Links API
I wonder if it is possible to generate share links through the API that do not expire? Today I am using the attached example, but the link has an expiration date, not complying with our request.
-
Notification of File Request Upload
Hi All, I'm trying to automate a full process of which Dropbox is part. I need to be able to send a file request using the API and then be notified via a webhook or a periodic poll (not by email) when a file has been uploaded but the file request URL. This way I can determine where the file came from and continue the…
-
Share a folder for uploading files
Hi, I need to be able to create, share, and send a link to a folder that can be used to upload a file by anyone with the link. I need to be able to do this automatically. When I create the folder and create a share, by default, it is read-only. How can I do this automatically using Zapier, integromat, or possibly API Thanks
-
client_modified and server_modified values sometimes differ by 1 second on successful upload
I have written a simple bash script for uploading small files to Dropbox from CLI through curl request by utilizing the code as shown in Dropbox API explorer here https://dropbox.github.io/dropbox-api-v2-explorer/#files_upload. However, when inspecting the JSON metadata on successful upload I noticed that sometimes the…
-
Bad HTTP "Content-Type" header
Hello, I am writing a simple app that creates some folders when we add a new client to our systems. I keep getting an error: Error in call to API function "files/create_folder_batch": Bad HTTP "Content-Type" header: "application/json; boundary=------------------------0e03e86aa71fa792". Expecting one of "application/json",…
-
I had some problems
Hello, Once i have integrated the Dropbox Objective-C SDK into my project; I got appkey is ht5jlmr230u0823, and i set up OAuth 2 Redirect URIs is https://db-ht5jlmr230u0823. and account_info.write. url scheme is db-ht5jlmr230u0823. [[client.filesRoutes createFolder:@"/test/path/in/Dropbox/account"]…
-
PathRootErrorException received on listFolder
Hi, I'm working with Dropbox Java SDK for ARES Kudo (kudo.graebert.com) and we're facing weird exceptions sometimes from some of our users. The exception is com.dropbox.core.PathRootErrorException in response to listFolder("") call (list "root" content) I've tried to find out the reason, but wasn't able to. I don't get any…
-
Integrated creation folder
DropboxBadInputError[{ ErrorContent = "Error in call to API function \"files/list_folder\": Your app is not permitted to access this endpoint because it does not have the required scope 'files.metadata.read'. The owner of the app can enable the scope for the app using the Permissions tab on the App Console."; RequestId =…
-
Demo above git cannot run
Demo runs directly: testdata * data = [testdata new]; if ([ data.fullDropboxAppSecret containsString:@<] || [ data.teamMemberFileAccessAppKey containsString:@<] || [ data.teamMemberManagementAppKey containsString:@<]) { NSLog(@\n\n\nMust set test data (in TestData.h) before launching app.\n\n\nTerminating.....\n\n);…
-
Unable to log in
I applied for appkey on Dropbox developers. An error was reported when authorizing authentication. "[DBClientsManager authorizeFromController:[UIApplication sharedApplication] controller:controller openURL:^(NSURL *url) { [[UIApplication sharedApplication] openURL:url]; }]; "error message: terminating with uncaught…
-
Saving files to dropbox of the user
I'm trying to integrate dropbox into our application. We have a requirement that we need to save some files in the user's dropbox. Can you point me in the right direction? I'm using C# and Windows Forms. Thank you.
-
Dropbox integration with website / api token
Hi We have integrated Dropbox with our web app and that is working okay for most customers. I think we have an issue with one of our customers and their api token.. When opening our web app as the client, we can see the dropbox files that are already created, but, when we click on them, nothing happens, no error shown. Our…
-
Team Logs Get Events API is returning empty events
By trying follwing API with newly created dropbox for business trial account is not returing events https://api.dropboxapi.com/2/team_log/get_events Please Check Reponse as follows { "events": [], "cursor": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "has_more": true }
-
Re: search_v2 API does not work when using id
Anyway, I can not disable the "filename_and_content" option. I only want to search into filename, not content. The request to search_v2: { "query": "screen", "options": { "path": "id:XXXX", "max_results": 1000, "file_status": "active", "filename_only": true, "order_by": "last_modified_time" }, "match_field_options": {…
-
failed to connect to api.dropboxapi.com/10.16.111.13 (port 443)
When I use the official Demo dropbox-sdk-java/examples/android/ I have the following problems Failed to list folder. failed to connect to api.dropboxapi.com/10.16.121.33 (port 443) from /10.16.0.25 (port 46762) after 20000ms I need help. Thank you in advance my sdk version com.dropbox.core:dropbox-core-sdk:3.1.5
-
Change app key and secret
Hi, I would like to change my app secret for security reasons ASAP and couldn't find how to do it, I would really appriciate your help here! :) ) Have a great day.
-
search_v2 API does not work when using id
Hi , The specification of search_v2 api(link) is written as follows. so I tried to search by id. path String(pattern="(/(.|[\r\n]):*)?|id:.*|(ns:[0-9]+(/.*)?)")? Scopes the search to a path in the user's Dropbox. Searches the entire Dropbox if not specified. This field is optional. But, When send a request with the id on…
-
How to access Dropbox file by its ID
Hello! My goal is to create a link to my Dropbox file only for myself and save it in my note-taking app. I have the ID of this file. How does the link look like? The reason is not to share files but save them independently of their names. So to have the possibility to move them and rename inside Dropbox, but still have…
-
Token Confusion
So I am connecting to PowerBi using the token. When I use the token created at: https://dropbox.github.io/dropbox-api-v2-explorer/#files_download with the "Get Token" function inside my PowerBI call it works great. When I put in the access token generated from my App…
-
Error to send larger file under python
Hi Dropbox Team, i'm using a script to send larger files (more 1 GB) but i have an error : Script i use : import dropbox, sys, os dbx = dropbox.Dropbox('MY KEY') file_path = 'My local file_path' f = open(file_path, "rb") file_size = os.path.getsize(file_path) dest_path = 'My Dropbox dest_path' CHUNK_SIZE = 4 * 1024 * 1024…
-
Downloading in the background in iOS (Swift)
Hello, I'm using file download from Dropbox in my app. It works fine when app is active, but if my app goes into the background the download stops. How can I solve it? I use this code to download: private let client = DropboxClientsManager.authorizedClient func downloadFile(_ file: TrackModelProtocol?, callback: @escaping…
-
Download API resume
Hello, I daily need to download a file into iOS from Dropbox using API. The file is ~1GB. Whether the screen saver occurs, or under some other conditions (incoming calls), then the download is aborted, I can restart it, but not resume it from where it left. It is quite frustrating since it happens frequently. Is there a…
-
Bypass Dropbox app when logging in
I am writing an app for a company that will be using their own Dropbox account to save the apps data. When their employees install my app on their phone, it will ask them to log in to Dropbox. Currently, if they have the Dropbox app on their phone, it opens the Dropbox app and allows them to sign in. However, I don't want…
-
Dropbox link to moodle, login error 400
-
API to get content hash of shared file link
Hi. Is there an API endpoint to get the content hash of a file received as a shared link? Where the shared link is to a folder, it's possible with: sharing/get_shared_link_metadata { "url": "https://www.dropbox.com/s/..." } then files/list_folder { shared_link: { "url": "https://www.dropbox.com/s/..." }, path:…
-
Creating Team Folder via Python SDK
I'm trying to create team folders on a business account through the python SDK. when I run the following code: dbx = dropbox.DropboxTeam(access_token).as_admin(team_member_id) dbx.files_create_folder_v2('/test_folder') I get an error stating: CreateFolderError('path', WriteError('no_write_permission', None))) I have given…
-
Performance of Dropbox getCurrentAccount
I'm running one of the Dropbox samples and getting very slow (>30 seconds) response on a call to getCurrentAccount(). The code looks like this: ... DbxRequestConfig config = new DbxRequestConfig(APPNAME); client = new DbxClientV2(config, ACCESS_TOKEN); FullAccount account = client.users().getCurrentAccount(); ... In our…
-
Error in call to API function "files/list_folder": request body: could not decode input as JSON
Good morning, I do this request with Arduino: client.print(String("POST /2/files/list_folder HTTP/1.1\r\n") + "Host: api.dropboxapi.com" + "User-Agent: ESP8266/Arduino_YAGI\r\n" + "Authorization: Bearer " + (String)my_token +"\r\n" + "Accept: */*"+ "Content-Type: application/json" + "Content-Length: 33" + "\r\n" + "\r\n" +…