-
403 Forbidden error on API access through Java
I am trying to call dropbox's API's through a java based client (spring security) but I get a 403 (Forbidden) error when I do that. The error is WARNING: POST request for "https://www.dropbox.com/1/oauth2/authorize" resulted in 403 (Forbidden); invoking error handler Exception in thread "main" error="access_denied",…
-
View users synced files in app folder
I got this idea off www.xcut.me so i know its possible I just have no idea how to make it work. I have made the app and incorporated it into my website. so far you just give it permission to access its own folder and it creates the Dropbox/Apps/ExampleApp folder directory on the users computer. Now I want users to be able…
-
In PHP : How to detect that DropBox won't hang?
Hi I'm following the example PHP for authentication - no problem. * you create a link for them to go to DropBox page * They "allow" and are given a authorization code * they paste that into your awaiting code * you can the call : list($accessToken, $dropboxUserId) = $webAuth->finish($authCode); to obtain $accessToken. BUT…
-
Datastore query
I am using datastore in my application. It works great. But i don't know how to use the filters (query) in this API. I need to get all the records which are 'createdDate' greater than the given date. I use the following code. NSDictionary *query = @{ @"createdDate":filterDate }; [testTbl get:query]; But it return only the…
-
I am Creating android project to store android contacts on dropbox.
My android phone contacts all are store my dropbox account.so pls help how to intent android app to dropbox cloud.
-
OAuth 2.0 API Error
Hello, I wanted to try out the OAuth API and hence I created a test app. When I make a GET request at the first authorize endpoint (for token flow) I get an error - This app is not allowed to use OAuth. Can you guide me on how to resolve this? Thanks, Amit.
-
Auth code for uploading a file
I have a free version of DropBox and am wondering how to get the auth code to allow automatic uploading of my WordPress backup. I am not a developer, and I thought there would be an easy way to do this. Is there a way to get this without doing any programming? Thanks.
-
New created app does not appear in Dropbox Folder
Hi, I have created 3 different app (App Console > Create App > entered the name etc.) it displays in the console but not in my desktop. Is there a step I am missing?
-
OSX - Sync API - [ERROR] unable to verify link request
Coded in Swift I implemented after the Tutorial. DBAccountManager is setup in AppDelegate on applicationDidFinishLaunching Later, when the user activates dropbox support in my aplication I'm trying to link the account. The Window Panel is displayed and my application is waiting for the callback. Sometimes I do not get a…
-
Frequency of allowed /delta calls to detect changes
I'm using the /delta endpoint (via the PHP SDK's getDelta method) to detect when any changes have been made in a folder or any of its children, grandchildren, etc. It seems to work well. However, in the API documentation it instructs to, "...wait a while (at least 5 minutes) before calling getDelta again". I'm running my…
-
How does updateAccessToken work?
When a user unlinks an application the sessionDidReceiveAuthFailure delegate method is invoked, however the error message says : Access token not valid. Definitely it makes sense, but how should I differentiate if the token expired because of the application which was unlinked or because the token expired? Reason: for the…
-
Authenticate using username/password in java
can anybody tell me how to authenticate via dropbox username password in my desktop application.
-
Dropbox throwing SSL errors for some users
Hi We've got a few users on iOS (iPhone 6 plus, iOS 8) that have been complaining that Dropbox for them isn't working. Upon inspection, it seems it's failing on all SSL communication with errors such as: "[ERROR] DropboxSDK: SSL Error. Cannot validate a certificate for the host: api.dropbox.com" [WARNING] DropboxSDK: error…
-
listDatastoreInfo.mtime can be nil
I have this issue where datastoreInfo.mtime is nil for some of my datastores. I would expect that it can never be nil. This is all the more curious that datastore.mtime is never nil for the same datastore. This makes the mtime attribute unrealiable to use. I have had this issue for several months now but never got round to…
-
How to make sure clients dont misuse access tokens provided to them?
I want to develop a Dropbox Desktop app that would retrieve an access token via a web service (which in turn would perform OAuth2 authentication and then give the user a magic key that he can enter in his desktop app to retrieve a valid access token) and store this access token on the client's machine (so that the client…
-
Dropbox PHP API error
i've been developing a music website that plays .mp3 files from a Public dropbox folder, and i think i've found a solution on how to get file names from a directory in Dropbox.The code i've found is: $consumerKey = 'key';$consumerSecret = 'key';require_once "dropbox-sdk/Dropbox/autoload.php";session_start();$oauth = new…
-
Error downloading multiple files from dropbox to the phone via the Sync API
Hi, I am trying to sync a specific folder from dropbox to the mobile using the Sync API in my Android app. I use the listFolder method to get the contents of the folder and then iterate over the dbxPaths to download each of them. This works but sometimes I get the following fatal error: 02-05 10:45:30.014:…
-
How can I check to see if a file already exists with Dropbox Sync iOS API?
I would like my app to test whether there is already a file at certain path before trying to upload a file to that path. How could I do that? I have an array called sortedFiles. Then I have int i = 0; do{ NSString *fileName = [NSString stringWithFormat:@"Pace audio/%@", [[sortedFiles objectAtIndex:i] objectForKey:…
-
Dropbox Sync API
When I updated a file from a device app which is registered with same app key then the same file from one other device not get notified that it is changed but when i change the same file from Dropbox it self it get notified. Below is my code [[DBFilesystem sharedFilesystem] addObserver:self forPathAndChildren:pathDB…
-
iOS 64 bit compatibility arm64 Core API
Hi, I have downloaded latest SDK of drop box Core API and dumped into my project for 64 bit compatibility. But now it is showing several errors in rest Client. Please help me.
-
File upload/download and database storage in Dropbox
Hi, I am developing an app in iOS. My requirement is as follows: I want to upload images and also download images. Also I want the ability to store the database structure in dropbox. So that if my app gets deleted and when I re-install the app only I have to link that with my dropbox account. Then I will get all the data…
-
How To Get Upload Progress Of A Uploading File With Dropbox Core API?
I'm currently using PHP + jQuery + Ajax to upload a file to my own dropbox account using localhost. I need to know how can I add a progressbar to this. Is there any way to do this? Currently I'm uploading files like this: // all vars declared and initialized above$result =…
-
Get log-in name of user using core API
Is it possible to show the log-in name of the user using the core API, as i need to show the login name of the current user.
-
Download resized image
With the current Dropbox SDK we can download images but in full size, but is there a way to download a resized image. There are a few reasons why this is necessary: - Most of the times people don't need the full size image. - Having a smaller file means the user will see the image faster. Reverse engineering the Dropbox…
-
Are there any examples of the Sync API and Datastore API being used in the same project?
I have found examples of projects using EITHER the Sync API or Datastore API - but not an example using BOTH at the same time. The reason I ask is that I had trouble trying to use both at the same time. My code all looked correct as per the tutorials, the files were syncing, local datastores were being created just fine,…