-
Using generated access token with the iOS sdk
Hello I'm trying out the iOS sdk using a generated access token but I keep getting an "Access token not found" error even though the token works fine in android. Here is my case (swift): let dropboxSession = DBSession(appKey: DB_KEY, appSecret: DB_SECRET, root: kDBRootAppFolder)…
-
Android M - Android deprecated apache module (HttpClient, etc)
Hi, Do you have plans to release a new version of the Core API SDK that supports Android M since Apache module was deprecated. http://stackoverflow.com/questions/29294479/android-deprecated-apache-module-httpclient-httpresponse-etc How can I use it since now I can't use my app on a device with Android M?
-
Dropbox Chooser API on xcode 7/iOS 9 issue
1. Dropbox Chooser API on iOS 9 using xcode 7 2. We build the existing app using xcode 7 for iOS 9. When we connect to Dropbox. It keeps asking: Please install the Dropbox App. But the dropbox is already installed. 3. We tried the app built before xcode 7. It seems working fine. 4. Other Dropbox API on xcode 7/iOS 9 works…
-
Per User Create-Only and Read-Only
Here's what I would like to be able to do: * User A Creates Folder X * User A Invites Users B and C to folder X * Inside that folder users A, B and C can Create files/folders * Inside that folder users A, B and C can Read any file/folder * Inside that folder only user A can Edit a file/folder once it is created Basically,…
-
Dropbox API to create user in Dropbox cloud
Hi, Is there any way to do any user related operations (like create user, etc.) in Dropbox cloud through APIs? Kindly clarify this.
-
How do I upload a file to my dropbox apps folder in dropbox in objective c?
Currently nothing happens when I run my code. This is how I am setting the up client. I did not put the client set up in my viewDidLoad method because this class will never be shown it just handles server side actions. (instancetype)initWithClient { self = [super init]; if (self) {…
-
Set expiration of streamble link via /media
Hey there, I'm using the Dropbox PHP SDK to create a streamable link via the /media API reference, by calling createTemporaryDirectLink($path) in PHP. Is there any chance to influence the lifetime of the link I get? Or at least something to doublecheck how long the created link will be available? Would be awesome! Thanks…
-
Cannot commit chunk upload. Returns 400 always.
Whenever I commit the chunk upload supplying the access_token and upload_id, it always return an error code 400. Here is the code. private boolean commitChunk(String upload_id, String path){ int responseCode = 0; try { URL url = new URL("https://content.dropboxapi.com/1/commit_chunked_upload/auto/" + path);…
-
How to correctly create a task
I'm trying to create folder and then to store the metadata of create folder: try { FolderMetadata folderMetadata = client.Files.CreateFolderAsync(newFolderPath).Result; } catch (Exception e) { string m = e.Message; } And it crashes without any exception. This method is working for oneDrive : LiveOperationResult meResult =…
-
Dropbox not redirecting to the provided redirect uri using Oauth 2.0 in Edge browser.
We are using Oauth 2 authentication to get access to user's documents. Once user has logged in from the sign in screen and granted access to his files, Dropbox is not redirecting user to the redirect uri we have provided. User need to refresh the page to get it working. Its happening in Microsoft Edge browser only. Steps…
-
Dropbox API -- does it support the open of a folder into a file manager?
In Windows, with Dropbox client installed, the following "round trip" is possible: 1 in file manager (e.g., Windows Explorer) right click on a selected folder under the main Dropbox folder. 2. Select "View on Dropbbox.com" 3. From view of folder in Dropox.com, select subfolder, then right click, then "Open". 4. Result: The…
-
Does the 'rev' field in the metadata for a file change if the file is moved or renamed?
I'm using the Webhooks API (and the core API) in my application. I need to determine if a file has been deleted from Dropbox or just renamed/moved. The /delta endpoint will only tell you when a path has been deleted/moved/renamed (no metadata), and then provide another entry if the path is new/moved/renamed (with new…
-
Open Dropbox API Authorization request in a new Tab
I have a web application running on my local host and I am using Dropbox Core API in the web app to upload files. However, the Dropbox authentication page opens in the same tab in the browser as my webapp. Is it possible that I force Dropbox API authorization webpage to open in a new tab? Is there a setting for this in…
-
Started getting 401/Unauthorized for request_token in last 12 hours
Hi guys, in the last 12 hours all my customers started getting a 401/Unauthorized when my WordPress plugin makes it's call to request_token ( https://api.dropbox.com/1/oauth/request_token) From the documentation it says that the 401 is returned when you have a stale access token - but I'm getting it when trying to get the…
-
What is expected behavior when specifying X-Dropbox-Perform-As-Team-Member but with token that d ...
oes not have team privilege? I'm using the REST API to create a folder using an ordinary token for a user, but also passing X-Dropbox-Perform-As-Team-Member to operate on another user's account. So this should probably fail with an error. Instead, it seems to be creating the folder in the first user's account. Is that…
-
-34018 Client has neither application-identfier nor keychain-access-groups entitlements
When attempting to initiate oAuth with our in production app, I'm receiving this error below. Have not had an issue with this until today. SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has…
-
[DB for Biz / API ] /1/team/reports/get_storage 100GB+ limit?
Here is a snipped from the Dropbox for Business API endpoint: /1/team/reports/get_storage. "member_storage_map": [ { "100GB": 0, "5GB": 0, "25GB": 0, "10GB": 0, "4GB": 0, "100+GB": 0, "2GB": 0, "50GB": 0, "3GB": 0, "1GB": 1 },...{} this suggests that once my team goes over the 100GB limit any graphs I have associated to…
-
[DB for Biz / API] /1/team/reports/get_storage are those bytes I see?
In reference to the API endpoint: /1/team/reports/get_storage [ documentation: https://www.dropbox.com/developers/business/docs#reports-get-storage ] The returned results include “total_usage”, “shared_usage” and “unshared_usage" do I assume correctly they are bytes? So “shared_usage” + “unshared_usage” = “total_usage”?…
-
Is there an ereader that syncs to Dropbpx?
Supposedly, there is an e-reader app called "Fabrik" that is designed to work with Dropbox, but I can't find any way to download it to Android devices. Anaybody heard of it? Does it still exist?
-
Android App Development - Common Folder for different user to upload their files without enteri ...
ng authentication (username pass.) I am developing an android app. Application has a module in which dropbox use as a file storage and multiple user can upload their files on dropbox common folder. what i have done: by the dropbox API files are uploading fine on dropbox. but app required authentication (username and pass)…
-
PHP Dropbox API for invite to share files or folders
Hello, I'm developing application which has functionality to invite user to share files or folder on particular email address. ex. User A send invitation of folder sharing to User B. User B will get notification in their dropbox account to accept or decline share invitation . I want to develop send file or folder share…
-
Redirect URI registration
Do we always need to register redirect uri in our console for the authentication process? For the case when many servers use my dropbox app, may I know how to deal with many redirect uri? We cannot afford adding up the IP addresses of all servers who want to authenticate.
-
Get notification when any files were uploaded
Currently, Dropbox API help us to download and upload file to dropbox. But, I need a trigger on my application, when a files were uploaded to dropbox. Can we do that?
-
Copying folders which contain images via API (from copy_ref) returns 500 errors as of September ...
1, 2015 As of Tuesday night, the API copy call returns 500 errors for paths which are folders and contain images. Removing all images solves the problem in the cases we've tested.
-
Internal server error when using delta API
We've been seeing Internal Server Errors when trying to fetch files via the delta API over the past week for some specific accounts. This has been occurring consistently for at least the past 10 days, but was working fine prior (and it still working fine for other accounts). Example: druidbox.delta…
-
Check if folder exists and collect shared folder
Hello, 1.I'm trying to check if folder exist in my dropbox by retrieving metadata from given path: (example path "/myfolder") public async Task<Metadata> GetFolderMetadata(string folderPath) { Metadata folderMetadata = await client.Files.GetMetadataAsync(folderPath); if (folderMetadata != null) return folderMetadata;…
-
How can I mock DbxClient class using Mockito when it is final?
For purpose of testing I would like to mock DbxClient class using Mockito but it is not possible. The problem is that DbxClient is final and doesn't not implement any interface. Can you please fix it?