-
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" +…
-
How to implement downloading files in the background for 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 fix it? I use this code to download: private let client = DropboxClientsManager.authorizedClient func downloadFile(_ file: TrackModelProtocol?, callback: @escaping ()…
-
iOS Document Picker greyed out
https://developer.apple.com/documentation/uikit/view_controllers/providing_access_to_directories let documentPicker = UIDocumentPickerViewController(documentTypes: [kUTTypeFolder as String], in: .open) documentPicker.delegate = self present(documentPicker, animated: true, completion: nil) I cannot select Dropbox (or Google…
-
dropbox team - get folder call not working (https://api.dropboxapi.com/2/team/team_folder/list)
Hello! I have checked the documentaion and try to implement the get team folders call https://api.dropboxapi.com/2/team/team_folder/list, however I am not getting any errors but not getting folder list too. in respopnse I got just this folder name "Your team's shared workspace", I have many folders in my dropbox team…
-
Add MetaData to Folder/File in App Directory
How can I add file/folder meta data for an App Folder app via the API. I am getting this error: Error in call to API function "file_properties/templates/add_for_user": Your API app is an "App Folder" app. It is not allowed to access this API function Error in call to API function "file_properties/templates/add_for_team":…
-
504 when reading data
* Operating System and version: iOS 14.1 * Browser Name and version: Safari 14.1 One of my users encountered a problem when using dropbox from my app from an iPhone: https://github.com/johannesjo/super-productivity/issues/645 This is most likely the response to a request to: https://content.dropboxapi.com/2/files/download