-
Is /save_url endpoint going to be removed in API v2?
My app is currently using the /save_url endpoint in API v1 to save files to Dropbox from a given URL. That is, you don't send the file directly, instead just the URL. But today, when I checked the docs of the upcoming API v2, I couldn't see any endpoint with this feature. There is only /upload endpoint which takes the…
-
Integration with KnpGaufretteBundle
Hi. I'm integrating dropbox to my symfony2 application and I need next parameters: * consumer_key * consumer_secret * some_token * some_token_secret ... to use dropbox via OAuth1. But at my application info dashboard (https://www.dropbox.com/developers/apps/info/bla-bla-bla) I haven't 4 parameters, have only 3: - App key -…
-
Uploading to dropbox from an external link
Hi there. I've recently just purchased a dropbox pro account and I'm trying to upload my files to it. Unfortunately I have an awful internet connection (upload speed is about 50kb/s at the most) so it's proving quite time consuming to upload everything. From my MEGA account I have about 40gb of files that I want to…
-
Datastore - Export of user data
Hello, I wonder if it is possible to get exported data from deprecated Datastore api for an account. Our user says that he has found "Datastores for Monefy.csv" in his dropbox folder. It would be great if you could suggest how that file can be received. Thanks
-
Unable to Upload the File into DropBox From Salesforce Using /Files_put API ?
Hi All, I tried to upload the file into Drop Box account From Salesforce Using /files_put Dropbox Api.But am always getting following Error : [Status=Bad Request, StatusCode=400]{"error": "Body may not be empty"}. Hereby My Code as follows, public class DropboxController { public DropboxController() { } public…
-
dbx.files_upload raises ('Connection aborted.', BadStatusLine("''",))
Hi, I am unable to upload using your Files_upload function. It fails with the following error: requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",)) I am on Windows 7 Pro 64 bit. Using Python 2.7.11. I installed upgrades to dropbox (6.2 six-1.10.0) and Requests (2.10.0). I can replicate the…
-
python upload big file example
Can you please share an example code of how to upload big files (size > 150 mb) with python api v2 sdk?
-
Get contents of a shared folder
I have a web app built in PHP, so I'm using v1 of the Dropbox API. When I request the metadata for a folder, it only returns a list of entries (files in the folder) if the folder is not shared. How would I get the contents for a shared folder? Also, is there a way to use the "move" call to move all files in a folder? I…
-
How to I determine LookupError.NotFound from AggregateException
How to I determine LookupError.NotFound from AggregateException Here is code: try{ pFilesRoutes.GetMetadataAsync("/shesnotthere", false) }catch(AggregateException e) { foreach (var err in e.InnerExceptions) { if (err is LookupError.NotFound) do something }}} How do I "dig out" the correct error and check its type ?
-
/2/sharing/list_folders/continue returns 500 internal server error after 1000 entities were returned
after using /2/sharing/list_folders without any limit (which means 1000 will be returned) in the next response I received 500 internal server error without any error details in the body. this also happens after requesting 3 pages using {"limt":500}
-
Dropbox webhook verification not possibile with ifttt or zapier, what about google apps script?
Dear dropbox community, I have found it impossible to use the dropbox webhooks with services like zapier and ifttt. This due to the fact that there is the verification process. My next solution was to use google apps script in order to make services act on file changes within the folder of my dropbox app. However I can…
-
chooser android not working
Hello, I am trying to use Chooser in my Android App but when the user choose the file, Dropbox app show the error message: "Dropbox error. Try again later" or "Sorry, an error occurred. Please try again later." The same occours on ChooserExample. Is it a Dropbox app version (I am on 6.2.4) or my API Key is invalid or…
-
Authentication for command line app
I'm writing an app in Python, that needs to access the Dropbox APIv2. However, if I follow the typical OAuth flow for user authentication, I will have to include my APP_KEY and APP_SECRET in the source code -practically sharing it with anyone willing to have a look. What is the suggested way of authentication users in a…
-
Rev in the Path
"Deprecated. Please specify revision in path instead This field is optional." is stated in the documentation. Does that mean, one should use just { "path": "rev:a1c10ce0dd78" } as path declaration? Is that unique in the whole dropbox? Or is there a form where you can combine the whole path together with the revision?
-
NoSuchMethodExcepetion
Hello TEAM. I am using dropbox client 2.0.1. I am using this line of code dvxClientV2.files().getMetadata(parentId).getPathLower(); java.lang.NoSuchMethodError: com.dropbox.core.v2.DbxClientV2.files()Lcom/dropbox/core/v2/files/DbxUserFilesRequests; this error is thrown. Please help me out. in previous versions I was able…
-
Unit testing
I would like to know how others have solved the Problem of Unit Testing an app that uses the Dropbox API without going on the network. I am using the swift, .net and PHP sdk's. Can I run a local Dropbox server and get the API's to use that endpoint?
-
API could not decode input as JSON
LS, I'm developing a mobile app with Xamarin and its trivial that Dropbox gets integrated. Ref: https://blogs.dropbox.com/developers/2015/04/a-preview-of-the-new-dropbox-api-v2/ Now "users/get_current_account" works like a charm, but if i try "/files/list_folder" with "{\"path\": \"\"}" as body, the response i get is…
-
/1/metadata requests returning 400 error for difficult file name
The integration tests for rclone ( http://rclone.org ) have started failing for Dropbox. I haven't changed my code so I suspect something has changed at Dropbox. This shows up as a failed metadata request which returns a 400 error with no explanation in the body. I'm deliberately testing a "difficult" file name here…
-
PHP SDK 'Unexpected HTTP status 301' returned from Dropbox/RequestUtil.php:256
I've been using the PHP SDK to save files programmatically for well over a year without issue. However, just in the past few days a problem suddenly appeared that is throwing a fatal error. I have updated the SDK with the current dropbox-sdk-php-1.1.6 files, with no change. The error occurs as I make a call to…
-
search in v1 vs v2
We were looking at migrating to v2, but it seems the search functions is incompatible. V1 is "must get substring match on all space separated components", which is pretty straightforward. But on v2 you need a perfect match on other parts except last (which is prefix). For one the v2 implementation is pretty strange (what's…
-
Request Body: could not decode input as JSON)
Hi! Am using a simple call: ``` client.files.listFolder(path: "", recursive: false, includeMediaInfo: false, includeDeleted: false).response { response, error in if let listFolderResult = response { print("These are the entries in the main folder:") print(listFolderResult.entries) } else { print("Error listing folder:")…
-
Trouble with link and setting expiry date
I am creating a .NET app and all is working well so far with v2.1. I can share a link, but if try to add an expiry date for the link it fails at the "CreateSharedLinkWithSettingsAsync" method, with a "settings_error/not_authorized/.." error! I have read the .NET documentation, and searched the forums, but cannot get this…
-
create a folder that will be shared and add a member to it
iam using the code below in a java desktop application, in order to create a folder in a dropbox account that i want to be shared, and i am trying to add another member by his email address, but iam getting: java.lang.NoSuchMethodError:…
-
Webhooks notifications
Hi Dropbox Community, I am working on a java app, which is integrating with the dropbox api. I managed to upload, move, delete files without any problems. Now, I am trying to use webhooks for my app. Here are some details to have some context about what I am trying to achieve. I have a dedicated dropbox account which is…
-
Programatically mounting a folder with path
Is it possible to mount a shared folder to a path other than the root folder? Example: User A creates a shared folder with path /MyFolder/MySharedFolder User A shares MySharedFolder with User B User B mounts MySharedFolder Currently, the folder would be mounted to /MySharedFolder, is there a way to mount to…
-
URI HTTPS request
Hi, I am trying to follow this dropbox tutorial; but with success https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/ I tried this call using the parameters shown and it worked, at least tried to redirect me to the localhost. But what does this mean? I simply want to be able to ask a user of app…
-
upload_session/finish_batch
In the V2 API there is a phrase: The session must be closed before calling upload_session/finish_batch. What is finish_batch? Henk
-
API v2 fileops/copy with from_copy_ref equivalent?
In v1 of the API if I wished to copy the contents of a file or folder from one Dropbox account to another, I was able to use the `filesops/copy` endpoint with the `from_copy_ref` argument in place of the `from_path` argument. It seems as though there is no functional equivalent to this operation in v2 of the API. Am I…
-
How can we use the existing access token retrieved by core API in the Dropbox Chooser ?
We are using the Dropbox core API in our web application. And now for the new version of the application, we are using the Dropbox Chooser API instead. How do we set accessToken retrieved from the Dropbox account to use in the Dropbox Chooser bypassing the Authentication process, and access the user account ?