-
Ruby Gem for v2 API
Is this ever coming, particularly now that v1 is about to deprecated?
-
Dropbox API Bug: "Restricted Content" Error for Unrestricted Files
Hello, There seems to be an odd bug in the Dropbox API whereby if you try to download a plain text file containing nothing but a period, you receive a "Restricted Content" error and it refuses to download. One of our customers came across this after she had deleted content from a text file in our writing app but had left…
-
Error (400) with redirect_uri
I have the following api: guest1:8080/DropboxRest/app/dropbox/start: this url initializes everything and goes to dropbox for getting an access token. guest1:8080/DropboxRest/app/dropbox/finish: this is the redirect_uri where dropbox have to redirect. Instead of that, I obtain a 400 error. I've declared this url on Oauth2…
-
Mac authentication launching new instance of app
Migrating my Mac OS app to the V2 API, using the Dropbox SDK for Objective-C. Making good progress but having this issue: 1. Run app in XCode 2. Trigger authentication process 3. Safari appears and I'm prompted "<myAppName> would like access to the files and folders in your Dropbox." so I click Allow 4. Then I'm prompted…
-
how to get file_id, file_size metadata using filename gotten from file chooser (python)
I have used dropbox file chooser to download files and filelinks. After I extract the filenames using the file chooser, I want to get more extended metadta. To do that I first went through Oauth2, then I used the following python codes: fileid=dbx.files_get_metadata('/'+filename).id but got the following error message:…
-
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"]…