-
Get parent folder of a shared folder
I am using "list_folder" to get the details of a sub-folder. I want to find the ID of its parent folder. But "parent_shared_folder_id" contains the ID of its grand-parent folder, not its immediate parent folder. Is there a way to get an item's immediate parent ID?
-
Android ACTION_GET_CONTENT from Dropbox sources
Device OS: Lollipop 5.0 When using the Intent ACTION_GET_CONTENT and selecting Dropbox from the Storage Provider, Dropbox prompts a file picker dialog to choose from. The result obtained in onActivityResult is something like…
-
Obj-C download destination + two questions on method names
Hello again, Three quick questions: 1. To download a file, I use -downloadUrl:overwrite:destination:. The documentation for the latter says: "A closure used to compute the destination, given the temporary file location and the response." What exactly does this mean in practice? More specifically: you set a destination URL…
-
Obj-C API 2: DBFILESWriteMode - using -initWithUpdate with file revs vs -initWithOverwrite:
In API 1, to overwite an existing file on the server, it was always necessary (as I understand it) to provide the file rev of the existing file. If you didn't do this, you would receive an error. Otherwise, you had to first delete the file and then write it again. (I could be wrong about this - maybe it was possible to…
-
How get app key in API 2?
In API 1, I could get the app key like this: NSString *cachedAppKey = ... MPOAuthCredentialConcreteStore *store = [[DBSession sharedSession] credentialStoreForUserId:nil]; if (cachedAppKey == nil || [cachedAppKey isEqualToString:store.consumerKey] == NO) { NSLog (@App key changed since last use!, nil); } Is there a way of…
-
list_folder/continue for file id
The list_folder/continue api is needed for an API user to track changes to files under a given folder. If the folder is moved, the list_folder/continue API will return a path not found error. If the id of the folder is known, the changes watching can be started again on the same folder via a call to get_metadata to get the…
-
Getting rev from DBFILESMetadata in obj-c API 2
Dear Dropbox, Thanks for the new obj-c API v2, looks like quite an effort! So far it's more convenient to use than API v1 and integration is going well. However, I'm a little held up on how to work with the response objects, I'm constantly looking for methods and properties on them that don't seem to be there and I think…
-
Multiple platform Core v1 to v2 Migration Question
Currently we are using the v1 Core API to suport users accessing their Dropobox content via our apps on 3 ptatforms (iOS , MacOS, and Windows) with App Folder permission. We are likely to migrate to the v2 API in our iOS app first with the two desktop apps to follow later. If we migrate a user to the v2 API in our iOS app…
-
Using file revs in API 2
In API 1, whenever a file was uploaded, a file rev was provided in the meta-data's .rev property in the "did upload" delegate methods. In API 2, DBFILESFileMetadata has an equivalent .rev property - so far, so good. But how do I use that file rev when uploading files? In API 1,…
-
Modification dates for directories?
In API 1, DBMetadata would report -clientMTime and -lastModifiedDate dates for any time of meta-data, including folders. In API 2, it seems that -clientModified and -serverModified are only available for DBFILESFileMetadata and not for DBFILESFolderMetadata. So how do I get the modification date for a folder? Thanks, Keith
-
Objective-C API 2 - dealing with error codes
Hello, In transitioning my API 1 Obj-C code over to API 2, I'm slightly confused over how to deal with certain error codes in API 2 - or even how to locate them properly. # 1. Create Folder Errors When creating a folder in API 1, if something went wrong, the delegate's -restClient:createFolderFailedWithError: method would…
-
Case-Sensitivity in API 2
Hi, Short version of this question: Is DBFILESMetadata's .pathDisplay property guaranteed to always use the correct case in its last path component, as .DBMetadata's .path property was in API 1? (Everything below is just a longer-winded way of asking that. :) ) I've always had an issue with the conflict between Dropbox…
-
problem with single quote in api filepath
Hello, I am using a straightforward dropbox api call in Ruby to get a file's modifier email & display name, like so: client = DropboxClient.new(generated_access_token) root_metadata = client.metadata(dropbox_filepath) user_email = root_metadata["modifier"]["email"] user_name = root_metadata["modifier"]["display_name"]…
-
Optional path_lower on sharing/get_folder_metadata
The get_folder_metadata documentation states that the path_lower field in the response body. I needto give my users a descriptive error message when it's not available. So I can write an instructional message, can you answer the following? Is path_lower only absent when the folder is not mounted? Is a folder mounted when…
-
Ways to Prevent "failed to grab lock" Error
Is there a way to check if there are running processes given the user's account? I don't want to get any errors related to concurrency or locks, so I was thinking of polling the account until there are no changes being made, then sending the API request to make the changes that I want.
-
Dropbox Chooser - how to exclude file by name (or mask)
Hi, is there a way how to exclude a specific file from being available in Dropbox Chooser JavaScript API? I would like to disallow the file "get started with dropbox.pdf" as some users choose it instead of a "real" one. Cheers!
-
Trying to find some Objective-C API 1 Functionality...
Hello, I'm starting to convert my Objective-C Core API 1 code to API 1 and am having a few problems finding equivalent functionality in some areas. Because there's no language-specific transition guide, the only way of trying to map things across is to go through the framework header files for a number of things, and there…
-
Temporary Direct Links stop working
Hello, I'm using dropbox-sdk-php to generate temporary direct links, it works fine, but today something happens, sdk still returns link but when I try to open it, getting Error (403)
-
Dropbox API application stopped working with 403 error
Hi, I have an application that downloads new software to an embedded processor (TI CC3200) by using the Dropbox API. It just stopped working. It worked fine the day before yesterday, but now every request for the file to download returns a 403 error. If I delete the file from the download directory on Dropbox, the embedded…
-
Shared Links in SwiftyDropbox broken?
Running this function using SwiftyDropbox! Was working well til this morning, now it returns nothing useful, just the reply that the link already exists, and when I try and get the link... it returns nil. Did see a post saying this functionality is broken right now. I hope not the case cause it is a single point of failure…
-
DropboxServerException (nginx): 500 Internal Server Error (Internal Server Error)
Hey i am using android dropbox sdk for upload and download the data from the dropbox to my android applocation. i use this sdk for my development https://www.dropbox.com/developers-v1/core/sdks/android Upload to dropbox is correctly work But when i am download image from the dropbox it give me error like:…
-
Webhook for file comments?
I tried setting up a webhook didn't get anything triggered for a comment in the file. Wanted to check if that option is available or it's yet to come?
-
Can i use Dropbox business account as like AWS S3?
I have file storage website where i am using Amazon WebService S3 but it cost really highly! My requirement: 1. To upload file like .apk .zip etc file type using php sdk through my website admin panel from single hand. 2. user can download that file where i will use php sdk to download that file from dropbox via my…
-
GetMetadatawithchildren DROPBOX PHP SDK
Hi, I use dropbox-sdk-php-1.1.6 when i launch this print_r($client->getMetadataWithChildren("/")); the result is only one folder not all children folders under / Would you mind to bring me near for recursive listing of all children metadata under this dropbox sdk, or there is an other issue? All my thanks,
-
How to disable logging messages when using Dropbox SDK in Objective C IOS App
I'm developing an IOS App that uses the Dropbox IOS Objective C SDK. It's working fine but the Dropbox code is swamping the Xcode terminal with logging messages that I'm not interested in. How do you switch these logging messages off?
-
Web Exception
I'm using the API to upload 7 files hourly for offsite disaster recovery. This process works most of the time. Several times a day I will get the following error. System.AggregateException: One or more errors occurred. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. --->…
-
How to change the email id of users on Dropbox account?
Could anyone please let me know how to change the email id of users on Dropbox account?
-
CORS request
So I'm guessing Dropbox has finally decided to shut down serving all CORS links even using the workaround "https://dl.dropboxusercontent.com" address- Would it be possible for you to confirm this? And if so, is there any plans to do CORS for the shared links in the future? Throughout this forums there's indications the…
-
Upload PDF file using .net API
Hi All, I am trying to uplaod a PDF file through .NET API using client.Files.UploadAsync method Uploading is working fine but file is corrupted. Please suggest. Regards Namit
-
Failed to grab locks
We are making simple file copying files via Dropbox API and getting exceptions like com.dropbox.core.DbxException$RetryLater: {"error": "Failed to grab locks for 954581991: lock held by connection 22579708.Please re-issue the request."} How can I avoid this error? Does the new API v2 could help with this?