-
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?
-
Is there a Upload widget that I can embed on my site?
Hello Dropbox and comminity! I was wondering if there is a dropbox upload widget that I can embed to my site for users to upload files to a specific folder of mine? Sharing is not the only important thing for me you see, we need our visitors to upload their content to us. We would like to set the maximum file size per…
-
Retrieve access_token from Dropbox Chooser
In our app, we use Dropbox chooser to get files from Dropbox. But the files are downloaded in the backend, so we just send the url of the chosen files to the backend to do the job. Is it possible the retrieve access_token directly from the Chooser to avoid implementing the Authentication flow ?
-
api v1 uid to api v2 account_id conversion
I have an application using api v1. I store dropbox account ids of format: "123456789". However when I try to use v2 api's get_account call and I add the parameter account_id : "123456789" I get an error message: "must be at least 40 characters, got 9" Is there any way to use get_account call with the old uid format. What…
-
Please Add An Additional Step To The Swift API instructions
I just finished successfully installing the swift dropbox framework in Xcode. I followed the instructions at https://www.dropbox.com/developers/documentation/swift#install . I kept getting the error message on my import statement for SwiftyDropbox saying "No such module 'SwiftyDropbox'". I spent several hours working to…
-
List folders at root (list_folder v2 API)
Is it possible to list the contents of the Dropbox root directory from the v2 APIs? Calling the list_folder endpoint as follows yields an error: curl -H 'authorization: Bearer ****' -H 'content-type: application/json' 'https://api.dropboxapi.com/2/files/list_folder' -d '{ "path": "/" }' {"error_summary":…
-
[request-id 953b09474eb624414a4a43c7eeabc88c] API route error - { ".tag" = path; path = ...
{ ".tag" = "not_file"; }; I am trying to download a file using SwiftyDropbox. I can connect to Dropbox ok and I can access my Dropbox files, but I cannot download files. My code: let client = Dropbox.authorizedClient let destination : (NSURL, NSHTTPURLResponse) -> NSURL = { temporaryURL, response in let fileManager =…
-
How to use access token in Dropbox authentication in Android app
Hello. I'm trying to make an Android application that uses Dropbox. I managed to upload some files to Dropbox so that is working. But I would like to store the access token so that the user doesn't need to authenticate every time. Your tutorial says: " The finishAuthentication() method will bind the user's access token to…
-
uploadasync is always overwriting
Here is my code: var updated = await dbx.Files.UploadAsync("/Apps/design-orders" + "/" + file.FileName, WriteMode.Add.Instance, true, body: mem); I have tried different combinations of the mode and autorename parameters but it always overwrites the existing file. I would like it to rename if the file name already exists.
-
Getting Error unable to find valid certification path to requested target
I'm trying to use the dropox java sdk. Trying to run a simple test. But I get the following error when running this code DbxEntry.WithChildren listing = clientV1.getMetadataWithChildren("/"); com.dropbox.core.DbxException$NetworkIO: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path…