-
Auth2 Authentication check
I would like to be able to check if Dropbox authentication was successful. In the old API v1, it was possible to run the following code: AndroidAuthSession session = dropboxApi.getSession(); if (session.authenticationSuccessful()) { try { // Mandatory call to complete the auth session.finishAuthentication();…
-
Android API v2 - Can't build the sdk
Hi there, I'm currently trying to upgrade the sdk to v2, however, I'm struggling with simply building the repository in order to check the examples. I'm running ./gradlew install in the root folder (dropbox-sdk-java) and it's throwing the following error: org.gradle.api.tasks.TaskExecutionException: Execution failed for…
-
java.lang.ExceptionInInitializerError
I have an Android app with the Dropbox Java api 3.0.5 For some reason some of my users get the exception I'm pasting below, but the majority do not. I've never reproduced the issue, I've only seen it reported on Crashlytics. Does anyone have any idea what the issue could be? I use multidex on my app, is it maybe related to…
-
Streaming Non-Shared Music (Javascript)
I want to write a simple javascript-based (frontend only) dropbox music player. Just a dropbox file explorer, playlist and audio controls -- very basic for when I want to play some music without syncing the files locally. I have experimented a bit, and can create a temporary file link (filesGetTemporaryLink) and play…
-
xcode objective-c failed when building for simulator
Hi, I designed a app for files access include dropbox on iphone in xcode9 with DropboxSDK.framework. The code ran on device is fine but will happen following error message when building code for simulator. Is there any solutions to solve following problem? Undefined symbols for architecture x86_64:…
-
Official Dropbox .Net v2 SDK, slow uploading speed for large files
Hello, We use Official Dropbox .Net v2 SDK. Average uploading speed for some our clients is 50-100 kb/sec. We use the following code to upload chunks log.Trace("{0}. File chunk taken. CountBytes: \"{1}\"", nameof(UploadFileImpl), countBytes); using (var memStream = new MemoryStream(buffer.Take(countBytes).ToArray())) {…
-
Public Key Acquired instead of Access Token
Retrieving access token using a third party API returns: { ".tag": "requires_captcha", "public_key": <Public Key> } instead of { ".tag": "success", "user_id": <user id>, "oauth2_access_token": <access token> } What could be the cause?
-
Fully understanding FilesPhotoMetadata
Dear Dropbox In the JS API it says in FilesPhotoMetadata: time_takenTimestamp<optional>The timestamp when the photo/video is taken. I wanted to confirm the exact photo metadata tag this represents. Is this the tag it represents: 0x9003DateTimeOriginalstringExifIFD(date/time when original image was taken) Best regards,…
-
REST Call Throttling/Rate Limiting
With APIV1 you could make a single REST call and get all of a user's shared folder data and all of the members of each of those shared folders. Now with the new and Improved APIV2 you need to make a separate REST call for every shared folder to get that shared folder's members. So if a user has 100 shared folders the…
-
Share sub folders of app-folder
Hi, I have saved data on dropbox via android app. Now i want to share it with my friends inside app only. But i could not get the metadata of the resource of other user. I also tried to add members to the subfolders via below code, List<AddMember> members = new ArrayList<AddMember>(); members.add(new…
-
Access to shared folders through app with link to dropbox.com inside
I have created an app with an app builder and I have added a section that automatically embeds the dropbox.com website through a link to the url html. When users access this section they login in dropbox with their credentials and can access its content as if they were visiting the dropbox website from their device. The…
-
Sign In page using oauth2/authorize not responsive
The buttons "Sign in with Google" and "Sign in" button are not responsive Sign In button of sign in page not responsive. It does not redirect to its specified redirect uri. Also the email and password text do not disappear even though the edit box is not empty.
-
Trouble migrating from API v1 to v2
Hello! I have this little code that can search dropbox file from slack, I have been trying to migrate to API V2, but can't get it work. Don't know what the problem is. # encoding: utf-8 import time import os import json from flask import Flask, request, render_template, url_for, json, jsonify import csv import dropbox…
-
Running APIv2 code to upload files to Dropbox app folder assigned to use APIv1
Hello, My Dropbox app has been temporarily allowed to use the retired APIv1 code to upload/download files to/from the Android device. What will happen when I release the updated Android app with the code prepared for the new APIv2 standard ? Will this new Android app function properly with Dropbox file transfers while the…
-
simple Android example for APIv2 required
I have implemented an Android code for Downloading / Uploading files to Dropbox App folder based on the old, simple DBRoulette example, which works perfectly well under Dropbox APIv1. I have spent many hours trying to modify the "official" APIv2 example code from:…
-
Partner accont
Does Dropbox provide organization creation API with the partner account credentials? I want the below mentioned scenario by API and please let me know that is possible or not. 1. Created a partner account(manual) 2. create organization entity by API using partner account credentials. 2. Create and manage users under that…
-
Dropbox Access Token Validity
Does the access token retrieved from DropBox API have an expiration time?
-
How to copy shared folder
Hi, I am using copy function of php api I want to also copy the shared folder for this i am also set the allow_shared_folder to true like copy($frompath, $topath, true) but it not allow me to copy shared folder getting error like cant_copy_shared_folder.
-
Download file through JS SDK
I am currently working with your javascript sdk to retrieve a list of files from my dropbox using filesListFolder and I display the files as links on my page. I also use the filesDownload method to give my users the ability to download the files. When a user clicks on a link, the browser's default download window (the one…
-
V2 API Problem with tokens
I'm getting error_summary": "invalid_access_token" , all the time , even after getting a fresh new token. I followed these steps: - oauth2/authorize : get the code - oauth2/token : get the token using the code - call any method i.e. curl -X POST https://api.dropboxapi.com/2/users/get_current_account --header…
-
Copy function having the from and to path issue
I am using dropbox php SDK and using copy function i am trying to copy one folder to another folder but in response i am getting following error: For copy function i am giving from path like "/test" and to path like "/abc" Fatal error: Uncaught exception 'Kunnu\Dropbox\Exceptions\DropboxClientException' with message…
-
delete_batch returns internal error consistently when deleting more than 3425 files
I was using the delete API call to remove a folder that contained more than 10k files when I saw the too_many_files error. I switched over to the delete_batch API call in order to bypass this error, but received the same error at 10,001 files. I decided to send smaller chunks, but when trying to use delete_batch with more…
-
Dropbox authentication on iPhone X
My App's Dropbox authentication is failing on iPhone X and iOS 11. I still do not know the root cause and am just doing an initial inquiry here to learn if there is a known issue. What I can say is this: 1) authentication fails if the Dropbox App is installed 2) authentication succeeeds if I remove the App and…
-
Get Shared Link of uploaded file programatically
I can use this code to upload my file to the dropbox through html. <script> function handleFileSelect(evt) { var files = evt.target.files; // FileList object //// files is a FileList of File objects for (var i = 0, f; f = files[i]; i++) { $.ajax({ url: 'https://content.dropboxapi.com/2/files/upload', type: 'post', data: f,…
-
Arduino Yun upload Images to Dropbox
How Arduino Yun upload Images to Dropbox using API?
-
Objective-C Api handle connection loss
Hi! For our iOS Apps we are switching from the old Dropbox Api to the new Objective-C Api. In one app we use only the download function with dropbox. To achieve this, we implement DBUserClient *client = [DBClientsManager authorizedClient]; DBDownloadDataTask *task = (DBDownloadDataTask* ) [client.filesRoutes…
-
iOS11 document picker and files app - apkg files are greyed out
Hello, We are writing an app that handles apkg files. The app's info.plist contains the correct document types and imported Type UTIs, and everything was working well until iOS11. On iOS11 however, these files are greyed out when trying to import them from dropbox, using UIDocumentPickerViewController, or when viewing them…
-
Shared folders specific to current logged in user.
Hi there i am attempting to set up an application that allows myself to have a portal for my clients. A client would visit the log in page and then be redirected to a page that showed them folders that I have shared with them only. Would i have to use the dropbox team end points for this or is there a way to do it without?…
-
ObjC 3.3.5 new(ish) parameters for listFolder method
I have just updated the SDK and there are 3 new parameters in the listFolder: method. However the documentation does not really go into much detail (and the last parameter is not mentioned at all): listFolder:recursive:includeMediaInfo:includeDeleted:includeHasExplicitSharedMembers:includeMountedFolders:limit:sharedLink…
-
list_folder with include_media_info=true return empty entries array.
When calling /2/files/list_folder with include_media_info = true the API is returning an empty set on a folder that I know contains files. I can see the files in the Dropbox website and also in my desktop dropbox. If I call /2/files/list_folder with include_media_info = false I get the listing of all the files in the…