-
Java V2 SDK - get metadata
Using Java SDK v2, I need to get metadata for a file or all files in a directory. Specifically the client modified timestamp. I cannot find this anywhere in the V2 docs, specifically the DbxFiles.Metadata class only contains name, pathLower and parentSharedFolderId. How is this done?
-
ios sdk include_deleted
In the ios sdk (v1 for objc) is there any way to customize the requests for metadata so you do not get all the deleted files? I cannot find a way to set include_deleted to NO.
-
Why do I get this as response for file Download?
I'm using the HTTP API with PHP via it's cURL methods. I send in the correct way the request and I get a correct status (200). But as response from the request I expected the content of the file and I receive strings as this one: @/tmp/php5BHw8P;filename=8jh7d5.jpg;type=image/jpeg Am I doing something wrong? What should I…
-
OAuth2 public app key security
I'm just in the process of updating a few things and wanted to clarify how things are handled in terms of OAuth2 (and specifically, in this case, Android). Basically it's my understanding that the app key must be included as both R.string.app_key and in AndroidManifest.xml in order for the implicit Auth behavior to work…
-
Find the last updated timestamp of a directory (that includes changes to any of the files in the ...
directory - add/modify/delete) Challenge: Use Dropbox REST API to get the last updated timestamp of a directory (that includes changes to any of the files in the directory - add/modify/delete). 1) I tried using the API v1 first: curl -XPOST https://api.dropbox.com/1/delta -H "Authorization:Bearer…
-
POST fail, error #400, Bad HTTP “Content-Type” header
when trying to upload a file into the app folder using POST I get "Bad HTTP “Content-Type” header" error, however when trying to download a file using GET it works, the following is my POST, needless to say that I've tried all possible "Content-Type" without any success: what is it I am missing here? Thank you all in…
-
Dropbox upload bandwidth throttling
I am using OAuth 2 to upload files to my dropbox account. Upload speeds have noticeably gotten worse for me from a variety of devices and locations over the past few months. Is there an account type in which uploads are not throttled by dropbox, because clearly you guys are throttling bandwidth. I currently use dropbox…
-
AppFolder absolute path
Hello, I am using Dropbox application with `app_folder` permissions level. Lets pretend that my app folder is `TestApp`. I am creating subfolder `plant` in it. Is there a way to get absolute path of this folder and to be able to show it to user? I can't use `/Apps/TestApp/plant` due to different localisations of dropbox.…
-
URL to dropbox folder on disk like //Dropbox Is it possible to make
URL to dropbox folder on disk like //Dropbox Is it possible to make
-
Comsumer API get_metadata with invalid id not return 409 but 500 error
I am trying to implement the error handler of the response error body, but here is a bug existed: I use get_metadata and give an invalid id as path, I got 500 in response but not 409 path not found. If I use path based API, the response status is 409 as listed in document. Furthermore, I try to use an invalid id just one…
-
Getting Dropbox.Api.BadInputException on DownloadAsync.
I am developing application to download an image from Dropbox in C#. I access a folder including Japanese as follows. ----------------------------------------------------------------- string filePath = ”/漢字.jpg”; var response = await _DropboxClient.Files.DownloadAsync(filePath);…
-
Managing sensitive files with a server.
My friend is a lawyer. His clients submit documents to him through Dropbox. They are sensitive legal documents. He asked if there was some way that I could build a website (web app) that will manage the files. I'd like to use the Dropbox API to have his clients directly upload the files into his Dropbox folder while at the…
-
Encoding data to state parameter and decoding it
Hi, I am developing an app in dropbox using OAuth2.0 authorization flow. It involves redirection as well. I would like to store some data and retrieve data after redirection. As stated in documentation, 'state' parameter can be used to store data and get back the same. How can I store data and retrieve? what encoding…
-
Getting OutOfMemoryException when downloading
Hello, I wrote a quick console app using Dropbox.NET with the intent of downloading particular files or folders from Dropbox (for archival purposes, etc...there are multiple reasons). However, I quickly ran into an issue when it tried to download a 1GB file. I receive an OutOfMemoryException. Here is the code that I use:…
-
Dropbox.Api.RetryException
My app is integrated with Dropbox. We send files to customer accounts. It works most of the time, but recently, I get Dropbox.Api.RetryException in the response and cannot find docs for that anywhere. I have compared the calls where I get that and ones where I do not and cannot find meaningful differences in the calls.…
-
Java API - V2
I am trying to ugrade my Android App to V2. I have added the new API to the Eclipse Project using the Maven dependency. There appears to be a dependency on SquareOK.com that I am not getting. When I call: DbxClientV2 GetClient(String Token) {0 String userLocale = Locale.getDefault().toString(); DbxRequestConfig…
-
is it possible to use api from an NSObject class vs a View Controller?
I want to create a file utility that isn't tied to a View Controller. I have one connection to the API working in a View Controller, but I'd like to create a standard NSObject module and simply instantiate a connection to the Dropbox API and do all the file work from there. It calls the app delegate but the API never calls…
-
Can you get dropbox shared folder metadata without accessing the api?
I am accessing dropbox files through the shared folder on my machine rather than the API. Is there a way to access the shared folder data like user name and email through this route?
-
Datastores / End of life / Questions
Is there any page I can go to check the service status for the dropbox datastore servers (I know in the process of being deprecated). Has there been any reduction in the available servers or whatnot for datastores, is there any kind of Ramp down ? Obviously I'll try my best to get rid of all the datastore stuff before you…
-
Dropbox API v2 /delete issue + improvement request
Hi Gregory, team Just few notes on /delete in Dropbox API v2. https://www.dropbox.com/developers/documentation/http/documentation#files-delete Issue: The return codes for DELETE are not very clear. One can get a path_write (WriteError) with "conflict" (documented as "Couldn't write to the target path because there was…
-
I want to read .json file by http api
I want to read .json file by http api what api??
-
iOS - loadStreamableURLForFile Causes Error 429 (too much traffic)
I'm developing an app that allows me to stream the videos I'm storing in Dropbox down to a client application on iOS. I authenticate appropriately, locate the file and call loadStreamableURLForFile to pass to the AVPlayer on iOS to display. Everything works great, the video plays. But about 1 hour in (it's a two-hour 1.7GB…
-
Is linking necessary to download files?
Is it possible to download files from my app folder (Dropbox) to my app without linking an account? If so, how would I do that?
-
How to filter a folder by File Format using SwiftyDropbox?
Hi :) I’m working on an app that deals with text files and I want to present a list of files in a folder, but only files with a specific format. For example, only .txt or .md files. Is it possible? If it is, How can I do that? Thanks :)
-
Timeout for request to Dropbox API
A User reported that after logging out of his Dropbox account, he gets this message: "The request to link the app is invalid" . I can't replicate the issue here. I had him do some extra logging but saw nothing in the console that looked odd, expect for multiple occurrences of timeout for request to…
-
Dropbox .NET CreateFolderAsync fails for Top level folder.
The code is simple: The mClient is logged in to access my APP folder. public async Task<FolderMetadata> CreateFolder(String DBPath) { return await mClient.Files.CreateFolderAsync(DBPath); } 1) A DBPath = "New Folder" fails 2) a DBPath = "/Status/New Folder" works Now with more testing ... I find the "/New Folder" works.…
-
Getting HTTP 401 on for access_token one some server
Hi guys, We came across a strange issue, when trying to get a access token the the OAuth1 API, the successive calls to "request_token" and "authorize" are working fine, but its is time to access "https://api.dropbox.com/1/oauth/access_token", we receive an Unauthorized/401 response for the POST. What is the more strange is…
-
Dropbox app for web application and native mobile apps
Hi, I have a Dropbox app that is being used to authenticate and authorize my web application to access resources on a user's Dropbox account. The authentication is done via OAuth 2.0 and I obtain a refresh token at the end of successful authentication. Now I am developing an android and an iOS app and they should also be…
-
Shared Folder Metadata
The help on this topic is: * shared_folder_id optional The ID of a specific shared folder. * include_membership Required if shared_folder_id is specified. If true, include a list of members and a list of groups for the shared folder. * show_unmounted optional This value, either true or false(default), determines whether…
-
Get all users' files/folders info in my organization using dropbox rest/java API
I need to get the files/folders info from other users in my organization using the rest/java API. I could get the files/folders info only for the user that asked for the token, I couldn't find anything about it in the API. Is this thing possible?