-
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?
-
Batch deletion?
Hello all, looking through the current Core API docs, I find no way to batch-delete a set of files, other than to delete a whole folder. This is causing performance issues with the application I'm working on. I started with Google Drive support, and they have a generic mechanism for batching API requests (putting requests…
-
API requests performance issues.
The issue we dealing with is when moving or copying files in DropBox server to another folder in DropBox server. The API requires to send request for each file separately. That takes way too long. Maybe You provide some kind of batch request so I could move more than one files per request? I also know the ability to move…
-
Overwrite the same name document and NOT call it efile(2).xls.I have IFTTT set to autoupload att ...
achments to dropbox. Can I have dropbox overwrite same name documents?
-
Is there anyway to revalidate an invalid token instead of reauthenticate the user?
-
api.dropboxapi.com failed to connect connection timed out
I can't access api.dropboxapi.com from my godaddy VPS..but I tested the same code on another godaddy VPS and its working...by the way..api.dropboxapi.com is the only one failing ...content.dropboxapi.com works great..
-
API v2 java throwing BadResponseException: Bad JSON for uploadSessionFinishBatchCheck
I'm using the UploadSession feature of the java SDK to upload multiple files at once, and at the end of the process when I call files().uploadSessionFinishBatchCheck, I'm getting an exception: com.dropbox.core.BadResponseException: Bad JSON: expected field 'success', but was: 'name' Full Stack Trace:…
-
dropboxjs longpoll : error 400 : You must issue the request to "notify.dropboxapi.com"
Hi, When I'm calling the filesListFolderLongpoll() method I get the following error: status: 400, text: 'Incorrect host for API function "files/list_folder/longpoll". You must issue the request to "notify.dropboxapi.com".' I'm getting a cursor with filesListFolderGetLatestCursor() and then I give the cursor I just…