-
Deleted files are automatically restored.
As shown in sample 1, "delete_V2" alone will succeed in deletion, but as in sample 2, the combination of "unshare Folder" and "delete_V2" will automatically restore the deleted file (folder). // sample 1 [[userClient.filesRoutes delete_V2:path] setResponseBlock:^(DBFILESDeleteResult * _Nullable result, DBFILESDeleteError *…
-
Get direct link of folder file
Good morning, I'm using javascript sdk and i used filesListFolder () function to get the folder files, but i can't get the direct download link. can you help me? Thanks.
-
Refreshing short live tokens without Consumer Key and Consumer Secrect
Dear all, we are updating our code in order to support refresh token. We need backgroud renewal of the token. We are using the JAVA version of the API. It seems that in order to update the token (to refresh the short lived token) it is mandatory to store in the code the following secret information (Consumer Key and…
-
JavaScript Saver API - Invalid app_key
I'm trying to use the Saver in my app, but i keep getting the following message : I'm using the JavaScript snippet generated in the https://www.dropbox.com/developers/saver page And the app key is correct, so i don't understand why i'm getting that message.
-
Share a folder via the API
Hi All, I am looking for a way to share a folder once it has been created via the FileRequest process. I'm using the API to send a file request, when the requestee has uploaded the file, a folder is created automatically based on the File Request. I need to be able to find and then share that folder. the only information I…
-
Unable to get events for shared files
Hi, We have Paid/Business and Free Dropbox users using our application and we need the changes to the user's accounts related to sharing (receiveing a shared file, a shared file being unshared etc) Our application needs get the metadata of the shared file as soon as its received (almost realtime) Which APIs or methods can…
-
Monitor shared files for free or Business Account
Hi, I have an Application which "monitors" the user's dropbox account and does the necessary actions based on what the user does (adding, updating, deleting etc) We are currently using the Java SDK and long polling to check the changes to his account. We're getting all the changes except sharing. When a folder is shared,…
-
Revoke and reissue token ....... keeping the Token server side.
Hi fellow Dropboxer, Unfortunately, our app needs to let the client have the Bearer token for a COR's direct content upload. I was wondering if it was possible to periodically revoke and get a new token without the OAuth dance. That way, there would be a TTL on the bearer and we don't need to worry about the client having…
-
405 method not allowed
I built file uploading application on c# using dropbox client, installed multiple devices and all working properly except one. That one's error was: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The remote server returned an error: (405) Method Not…
-
Able to poll for Shared Folders after user Adds to Dropbox but not Shared Files - Java SDK
Hi, I'm using the Java Core SDK version 3.1.3 We have a mechanism of long polling for the changes in the User's Account. Our Application doesn't have any of the scopes for teams . For a regular user (Non Team) we're able to get the "events" for a shared folder if the user chooses to "Add to Dropbox" But we're not getting…
-
Problem uploading converted image file(.dng) into dropbox
I have an application in node js in which I am uploading the image to the node server after that I compress the file to reduce the size. After that, I upload it to dropbox but the uploaded file has a 0-byte size. I don't understand the problem. Below is the code that I used.…
-
Internal Server Error 500 with templatesListForUser
Since today I always get an Internal Server Error 500 when I call DropboxClientsManager.authorizedClient?.file_properties.templatesListForUser() in my iOS App. Also calling DropboxClientsManager.authorizedClient?.file_properties.templatesAddForUser(...) returns the same error. The past days it worked well. So I'm a little…
-
Re: stone_validators.ValidationError
Hi Greg, def insert_data(): has_more = True cursor = cnxn.cursor() while has_more: if cursor is None: entries = dbx.files_list_folder(Dropbox_file, limit=2000).entries else: entries = dbx.files_list_folder_continue(cursor) for entry in entries: ... cursor = entries.cursor # Repeat only if there's more to do…
-
Dropbox Api oauth2/authorize grant_type client_credential
In my app we have chosen the personal mailbox as the main service in the cloud to synchronize data with the central system. We currently have our customers who sign up for the service with our app generate an account and generate an access token directly from the console which will then be used by the app to connect to…
-
Get list of files in folders inside shared folders
Hi there, I am having a lot of trouble getting the contents of shared folders and the content of folders within shared folders. Firstly, for the shared folder, according to the API I should be able to use https://api.dropboxapi.com/2/files/list_folder with "path": "id:{shared folder id}", however this returned a `path not…
-
Migrating to short-lived access tokens
Hi there, I want to switch from the depricated long-lived tokens to short-lived access tokens for an application that uses offline access. The old token flow didn't have a refresh token generated. Is it possible to get an refresh token for those old tokens (once) so I can migrate the application to the new short-lived…
-
Unable to get events for shared files
I have an application which uses the API files/list_folder/longpoll to fetch any changes to the account and then I use files/list_folder/continue with the cursor ( DbxClientV2.files().listFolderContinue(cursor); is the method in the Java SDK ) to get the files which were changed. This works perfectly for the files owned…
-
Too Many Requests Error
Hello Greg, I am using the following Dropbox Team API - ListFolderContinueAsync in our production Dropbox application. result = await clientadmin.Files.ListFolderContinueAsync(model.basechangetoken); However, this is giving error: too_many_requests/... at…
-
Data URL via a JSON POST to a Temporary Upload Link - Composition Help
Hi I just need a little bump in the right direct to upload a file to an approved Temporary Upload Link. I've created the link, and I have the source file in application/octet-stream format, ready and waiting behind a URL. How do I POST that URL to the DropBox API via JSON? The documentation details this for cURL in order…
-
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);…