-
.NET SDK System.AggregateException OAuth 2 access token is malformed ?
Message=Error in call to API function "users/get_current_account": The given OAuth 2 access token is malformed. https://www.dropbox.com/developers/documentation/dotnet#tutorial (a) installed Dropbox .NET SDK via NuGet (b) registered Dropbox API app using the "App Console" (c) copied this text from the .NET tutorial page…
-
Android SDK API v1 to v2 migration
Android SDK v1 was released separately. But Android SDK v2 is included in Java SDK v2. The size of Java SDK in v2 is too large. My app has the problem with 'methods limit' and ' app size'. Could you please let me know if you have plans to release an official Android SDK in v2.
-
AccessToken Error recovery in Auth2 (Android)
In examining the Android sample for Core API v2, I was wondering how to properly handle error recovery in the use of AccessToken. In the example, the AccessToken is returned by Auth.getOAuth2Token(), and then stored in Shared Preferences for later use, so as to avoid going through the authentication process again. I assume…
-
What is minimum PHP version required to use Dropbox PHP SDK?
I want to know what are all the basic requirements i need to run Dropbox PHP SDK ?
-
download file without going through the server
I'm building a web app and I need to be able to download files from dropbox but I can't found a way to do it without passing the file on my server, is there a endpoint or method to get a direct link "with no preview page" to download files? I'm using the http endpoints to create ajax calls and the Java SDK Thanks in advance
-
PHP SDK API v1 to v2 migration
Hello everyone! It looks like Dropbox currently doesn't have plans for an official PHP SDK for Dropbox API v2. Maybe this is a dumb question but if I change the endpoints from v1 to v2 according the migration guide will it work with API v2? Thanks!
-
content.dropboxapi.com endpoints give "Certificate has been revoked" error from time to time
Hi, I am testing my web application after migrating to the new API 2.0 (REST), and I notice that from time to time calls to content.dropboxapi.com endpoints give error with the certificate. This happens both for POST requests and for pre-flight requests. Example of URL:…
-
How do I set up Dropbox API for use on a multiple server environment/ load balancing?
I am using the dropbox php sdk webauth fuctions to allow my customers to authorize Dropbox to allow my site to list their items in dropbox. The site just moved servers to Amazon ELB (elastic load balancing). Now that I have multiple servers I am having issues getting Dropbox to work. I will get the CSRF mismatch error…
-
Download Error, how to extract info
Hi, I am brand new to Swift, in fact only started looking at it in order to use swiftydropbox! Currently I don't see how to extract info from the downloadError without doing string finding jiggery pokkery! I am coming from objC class and sending a download with completion message to my swift wrapper class which…
-
Get link for a file?
I'd like to get the public dropbox link for a local file. E.g.: https://www.dropbox.com/s/<some id>/v16.90.0310_beta.zip?dl=0 is the public dropbox link for the local file: C:\Users\%USERNAME%\Dropbox\XY_Updates\v16.90.0310_beta.zip Is there a way to get this one with an API (preferred: Python) call? Unfortunately the…
-
trying to Auth in swift using generated access token
I have generated an access token for my app to allow users to access a dropbox folder to upload files. I do not wish them to have an account to complete this. Im struggling to find out how this can be accomplished in swift. Using SwiftyDropbox api. Can someone point me in the right direction please ?
-
API2 copy_reference/get doesen't work for app folder
API2 copy_reference/get works if an app has access to the full dropbox (Permission type: Full dropbox) but an "error 500 Internal Server Error" is received if using an access token for an app folder (Permission type: App folder)
-
linking dropbox account inside my app
I would like to to know how to link dropbox files inside an app. I have seen people link their dropbox files in apps like Mentalnote. I would like to learn how they did that, so that in my app that I am developing I can allow my users to link their dropbox to my app and share their files with others. eg. My app helps job…
-
Possible API v2 bug on revoking token
I am using the java sdk example and I noticed that when revoking the token via https://www.dropbox.com/account#security the example is stuck with an error. This is because it continues to use the old access token. Because of that I added code to clear the token on error. So that a new login is offered. The new login,…
-
Best Practices for Chunked Upload in Node.js
Hello, I have had a lot of success so far using the HTTP endpoints to make a web app, but when I tried to switch from a regular upload to a chunked upload I've run into all sorts of problems. Primarily, it seems like I keep getting a brand new session id each time I make a request, which means that I never get a file that…
-
How to control already updated files with JAVA API?
Hello! I'm very new with this API and didn't have much time to go through a lot of stuff. But, from what I saw, I couldn't find a way to control,programmatically inside a folder, files that have already been uploaded to Dropbox. Just like the client Dropbox does. If somebody could help me by giving an example or a…
-
Console error: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)"
When using SwiftyDropbox and calling Dropbox.authorizeFromController(self) I see the following error in the console: -canOpenURL: failed for URL: "dbapi-2://1/connect" - error: "(null)" I observed this issue in the PhotoWatch app as well as my own app. Is there a fix for this issue?
-
Ruby API v2 Client
I've been using Marcin Bunsch's client for the v1 since the official one is horrific. There has also been a lot of demand for the ability to use a mock mode of the client for automated tests in local. Can we expect a decent v2 Ruby client soon? Is it going to follow proper Ruby design principles?
-
Links to files under folder with shared link without creation explicit link to each file
Hello I am creating integration of third party application with dropbox. The application can contain uri to resource. My goal is to create link for Root Folder and then get links to files inside this folder and save the link in my app so that user can click on them and file should be opened on dropbox. I want to avoid…
-
Uploading issue , Please any one help me .
I am beginner in API Devlopment. I am trying to upload images, document & files etc. on dropbox through V2 Rest Api method but falied. Here is my Code ----------------------------------------- var client = new RestSharp.RestClient("https://content.dropboxapi.com/2/files/upload"); var request = new RestRequest(Method.POST);…
-
Swift SDK - no code returned for 'HTTPError'
I am using the Swift SDK v2 and I want to be able to interpret errors returned when there is no internet connection. So for files.listFolder the returned error only contains a description saying "HTTP Error:" without any code or anything else. When I try to switch on HTTPError as suggested here, I am getting the following:…
-
Help Needed - Saver Upload Timeout
Uploading from S3 to Dropbox using Saver https://www.dropbox.com/developers/saver throws timeout errors. Sample error message: Error downloading https://cubebrush.s3.amazonaws.com.... Operation timed out after 300000 milliseconds with 17685391206 out of 32271654976 bytes received Our online marketplace allows users to…
-
API URL for files/list_folder/longpoll seems to be incorrect
Documentation has the url as: https://notify.dropboxapi.com/2/files/list_folder/longpoll? It returns the error: Error in call to API function "files/list_folder/longpoll": Unexpected URL params: The beta url works: https://notify.dropboxapi.com/2-beta-2/files/list_folder/longpoll? Are other people finding this? Compare…
-
Programmatically download someone's shared file?
I'm writing an app that needs to be able to download files shared by other users (via a URL, with user's consent). Now I know by default the URL contains "dl=0" part which prevents automated DL, and I can rewrite it to "dl=1" and fetch the file. But is that the right and legal way to go? Is this a supported mechanism that…
-
Why is it so slow uploadfile
I'm using the UploadFile two time and I recive the direct share link of both files but perdure like 3 s for do all that, I think it is a lot time. The calculation was 63 KB (first file) and the second file 72 Bytes in 3.84 s ¡It is good!, can help me to performance please? Thanks
-
Any way to filter in the server?
Is there any way to filter files and folders? Specifically I´m looking for a way to receive all the subfolders (without the files) of a specific folder. I know I can do it in the client, but I don't want to waste network traffic unnecessarily. Regards, Alvaro.
-
create and return shared link to file Android example
I have an android app that uses the dropbox api to upload a file to drop box. This functionality is working as expected. Now I want to create a shared link to the file I just uploaded. I am confused and unable to get this working. Is there an example of how to do this for android that you can point me to? I'm missing…
-
How to upload files in Dropbox API v2 C# using Nemiro.OAuth
I'm trying to upload file but showing me 400 error.I'm trying the below code for file upload- RequestResult strReq = OAuthUtility.Post ( endpoint: "https://content.dropboxapi.com/2/files/upload", parameters: new HttpParameterCollection { {"path", "path"}, {"autorename","false"}, {stream} }, authorization: AccessToken,…
-
FilesRoutes.DownloadAsync Method (String, String) Revision Format .Net
DownloadAsync specifies that its second argument is deprecated and you should specify the revision in the path. How exactly do we specify the revision in the path? Do we just append it to the very end of the path? Is there a specific format we are supposed to use?
-
Shared file link not working programatically
I am creating an android app that downloads a shared file though normal http, not using the dropbox api. I am creating a shared link to the file manually, then I am using that link in my app. However, I am not getting the file back. Instead I am getting some dropbox file. Here is the beginning of what is in the file I…