-
Uploaded ZIP file is corrupted
After uploading a compressed ZIP file cannot be opened by the 7Zip or WinZip program on my desktop PC. I can open the original file but after I upload it using the sample code below, the file is about 90KB larger and corrupted. Does anyone know what I am doing wrong? Thank you in advance. cj51 ---------------------SAMPLE…
-
[Java SDK V2] How to distinguish if Metadata is file or folder
Hello, I need to distunguish, if Metadata I got is file or folder. Is there any recommended way, how to do this? I came up just with using instanceof operator, here is a snippet from integration tests: final Metadata fileMetadata = client.files().getMetadata(destFile); assertTrue(fileMetadata instanceof FileMetadata);…
-
Problem to get the auth code
Hi All: I have a problem when I was trying to get the auth code. I am using WPF and tring to get the "auth-code-input" from the webpage that dropbox direct to. But the when I was using the following code it alway get null. For now, I set the redirct_uri to empty, does this matter? mshtml.IHTMLDocument3 doc3 =…
-
Why does the official Dropbox Android SDK not contain an intent?
I've recently decided to integrate Dropbox into my simple app. I followed the github official example and the tutorial Dropbox posted for Android. However, after expanding my horizons I realized this works just as well, without an app key and other things: Intent intent = new…
-
What is the minimum entries from a ListFolderResult to cause hasMore to be true?
What is the minimum entries from a ListFolderResult to cause hasMore to be true? I'm writing an application and wanted to test what happens when has more is true. It does not seem that this API support pagination.
-
What is the default page size for list_folder, list_folder_continue and list_shared_links call ?
Hi, What is the default page size for list_folder, list_folder_continue and list_shared_links call ? I get 2000 records in list folder, and 2005 records in loist continue call. So, could you please tel me what is the exact number of records dropbox returns? Thanks, Akshata
-
filesSaveUrl endpoint down yesterday (5th of July 2017)?
Hello, I use the Dropbox NodeJS library (2.4.0) in the backend of my web app. When a new photo/video is uploaded, the backend generates a link and uses the filesSaveUrl function to save it to a Dropbox. This all works well. I noticed, however, that yesterday, no files where added to my Dropbox folders. I have different…
-
SDK 3.0.3 DbxRequestConfig problem
Today I got a email about Asking update dropbox SDK from dropBox API team. So I changed pom.xml like below. (I'm a Java server developer.) <!-- https://mvnrepository.com/artifact/com.dropbox.core/dropbox-core-sdk --> <dependency> <groupId>com.dropbox.core</groupId> <artifactId>dropbox-core-sdk</artifactId>…
-
How to use DropboxClient.Files.DownloadAsync() to download a part of a file?
I'm using Dropbox .net api DropboxClient.Files.DownloadAsync() to download files from my Dropbox account. The API document says it supports file range spec, meaning I can download the first 1000 bytes of a file instead of the whole file, but I couldn't find how to set the range. Can anybody help? Thanks a lot. Sample code…
-
batch API endpoints can't return errors?
I am trying to inderstand the philosophy of the batch APIs (copy_batch, delete_batch, move_batch). I understand the general flow, but I am confused by the modality of these operations being able to complete immediately in some cases (returning a completion result on the initial call, eliminating the need to call the…
-
/get_temporary_link URL is always setting content-disposition: attachment Header
When doing a call to https://api.dropboxapi.com/2/files/get_temporary_link to receive a temporarily link to a media file, the received URL will be like: https://dl.dropboxusercontent.com/apitl/1/.......... However, the problem I have is that this URL is setting the content-disposition: attachment Header, making it…
-
API V2 : Metadata of file which is moved to other folder.
In API v2, Is it possible to obtain Metadata of a file which is moved to different folder using old file path. It was possible in API v1.
-
UIDocumentPickerViewController import fails with "No internet connection..."
Hi, I'm using UIDocumentMenuViewController to display a selection of cloud storage services. Then I'm displaying the UIDocumentPickerViewController for the service selected with the following code: - (void)documentMenu:(UIDocumentMenuViewController *)documentMenu didPickDocumentPicker:(UIDocumentPickerViewController…
-
Should I change App key for my Android app when I switch from API v.1 to API v.2?
Our Android app uses API v.1. Now we are going to switch to API v.2. Should we get new Api key for this?
-
Create Shared Link (HTTP + C#)
Hi everybody! I'm using the HTTP Api v2 and C# I am trying to: * Create a folder * Copy a file inside the folder * Generate a shared link with settings for the folder * Download the content of the folder using WebClient The folder is created, the files are copied inside the folder correctly but the link generated is…
-
Dropbox Reseller APIs for upgrade and downgrade Business Plan
Is their any Dropbox Reseller APIs provided for upgrade and downgrade Business Plan?
-
Access public shared files without authentication
Dear community, I was wondering if it is possible to use a the ruby dropbox API to access and download publically shared files without authentication? You can do that from the web as long as you have the URL but I could not find any way to make this possible inside my app. Any help on how I can make this work will be…
-
How to switch from one account to another java SDK V2 (Android)?
Hello, Is there a way to switch from one account to another without revoking the accessToken. Since I migrated to V2 I can not manage several accounts with my app. I always come back to the same account after: //previously DbxClientV2 created dropBoxService = null; //previously String accessToken created dropboxAccessToken…
-
Dropbox API v2 .NET SDK Needs Updating
I got the email a few days ago saying that my apps which use this SDK will need updating due to a bug in the framework. This raises a couple of queries: 1) It said that the SDK will need updating within a couple of months, at which point it may start to throw a runtime error (somewhat disturbing). However an exact date was…
-
Duplicate ID for two different files
I have uploaded two different files in two different subfolders of dropbox. The Unique ID which we are getting in through API calls is same for two different files. I was expecit that ID field is unique for each entity dropbox folder atleast for a user. I'm using below API /2/files/list_folder/continue Do we have any…
-
Examples for list folder using dropbox java api v2
Hi, I am trying to use dropbox client api v2 with java HttpURLConnection to list folders in dropbox. The below example did not work. It returns 400 Bad request. Can you please help me ? import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.HttpURLConnection; import…
-
longpoll api returns always true when I added shared folder to my drive
When I added shared folder to my drive, longpoll api immediately returns true (no wait). list_folder api for root folder returns new cursor and longpoll api by root cursor returns true. When it returns true, I call list_folder api and save cursor. and after few seconds, I will check changes using longpoll api…
-
Dropbox Account Id vs UID
Hello, I'm using Swifty dropbox and wanted to know the difference between accountId I get from getAccountId() call vs. the userId set in my shared client. Thanks in advance!
-
OkHttp3Requestor.INSTANCE compile error after updating Java SDK to 3.0.3
This Android code was working fine with dropbox-core-sdk-2.1.1 but when I updated to dropbox-core-3.0.3, this code produced a compile error: DbxRequestConfig.Builder a = DbxRequestConfig.newBuilder("MyAppName"); DbxRequestConfig.Builder b = a.withHttpRequestor(OkHttp3Requestor.INSTANCE); DbxRequestConfig requestConfig =…
-
Folders with lots of files failing
When I call listFolder like in the example code, *response is often nil. This only happens with large numbers of files (over 1800, with some people 3000+ files). DBFILESListFolderResult *response is nil. This is a problem for my app. [[client.filesRoutes listFolder:@"/test/path/in/Dropbox/account"]…
-
append_v2 api processing takes a long time.
im using java sdk for using 'append_v2' api like under code. dbxClient.files().uploadSessionAppend(sessionId, offSet) .uploadAndFinish(inputStream) It takes a long time to receive a response after the upload is complete. Is there any post process after upload finish, or am I misusing the api?
-
changes copy_v2, create_folder_v2, Etc.
Hello, I resumed to develop a project that I started about three monts ago and I found that for some of the things that I had already done and finished the API changed. They are: copy was replaced by copy_v2, create_folder by create_folder_v2... also there are delete_v2, and move_v2 as far as I saw. In a first look, it…
-
UID to Account Id migration
Hi, I am developing an app with Dropbox API v2. Previously I was using V1 APIs and used uid as primary mapping. However, V2 only supports accountID. Is there a way to migrate the existing uid to its corresponding account Id? Please help
-
V2 migration - get user email on V1
Hey all, We've a lot of existing users connected via our Dropbox app and the Dropbox v1 API. Unfortunately we were not storing their Dropbox email address on our side, so a lot of customers won't remember what account was used to connect the Dropbox app initially. This is only an issue if the V1->V2 token conversion…
-
Can not sign in at old device.
I try to make ios4 appricaion used api. But I can't sign in because of not enable login button on mobile safari. Also Nexus One(Android 2.3) browser not enable login button.