-
High-Level Documentation: Sync Solution or Remote File System
Hi, I'm currently migrating from the old v1 non-Core API to the V2 APIs and the programming model appears to have changed completely. I'm having some fundamental questions about how to best design my new solution and all I can find is a SwiftyDropbox tutorial and a list of API calls, but nothing higher level. I'm looking…
-
Upload Error with v2 (migration from v1)
Hi I am currently in the process of migrating my code to use v2 and am hitting an error when trying to upload in python. Error: stone_serializers.py", line 887, in _make_stone_friendly raise bv.ValidationError(e.args[0]) ValidationError: client_modified: attribute of type 'NoneType' is not callable I'm not sending a client…
-
root folder id
How can i get root folder's ID? I read that there is no metadata for root folder. But is there any way to get root folder ID.
-
API V2 Issue with C# : DropBoxClient.Users.GetCurrentAccountAsync doesn't return
Hi, I recently migrate from API v1 to API v2. I use the Dropbox nugget for C#. Everything was working fine in september (with this new API v2 code) but since today (or the 1st of october) my new code doesn't work. Here is the code : using (dbx = new DropboxClient(Token)) { var full = await…
-
Objective C batchUploadFiles gives error: "missing required field 'session_id'" or "Garbage at end."
Hi, I am getting the error DropboxBadInputError[{ ErrorContent = "Error in call to API function \"files/upload_session/finish_batch\": request body: entries.cursor: missing required field 'session_id'"; RequestId = 0af1f37eb6e9ebc3e7ea0695db52c593; StatusCode = 400; UserMessage = nil; }]; And "DropboxClientError[{\n…
-
get folder metadata by id
Is there any api to get folder metadata by folder id?
-
Authorization requires web browser even for dev?
This is painful... The Java examples rely on an auth file created via the Authorization example. Which in turn requires building this code, and running a web browser... String authorizeUrl = webAuth.authorize(webAuthRequest); System.out.println("1. Go to " + authorizeUrl); System.out.println("2. Click \"Allow\" (you might…
-
Error 400 while uploading a file
dropbox rest APi was working good so far. Nevertheless i am facing a new issue while uploading file [ Error in call to API function "files/upload": Bad HTTP "Content-Type" header: "multipart/form-data; boundary=--------------------------887865632890002114004440". Expecting one of "application/octet-stream", "text/plain;…
-
Finding parent folder of file
Hi Support, I want to find parent folder of files. Currently, I am using list_folders api using curl in php which gives me all data but I am unable to differentiate which files are under which parent folder. Please suggest me way to find that
-
Dropbox nested files download using CURL
Hi Support, I am downloading files using below function where I am able to download only root files. I am facing issue in downloading files under folder function dbx_get_file($token, $in_filepath, $out_filepath) { $out_fp = fopen($out_filepath, 'w+'); if ($out_fp === FALSE) { echo "fopen error; can't open $out_filepath\n";…
-
Uploading files from my computer to Dropbox
I want to upload file from my computer to dropbox. But I am not getting any options to upload file from computer using Dropbox.Api in C#
-
java api for authentication
Is it possible to authenticate user with username and password using java api? Without UI.
-
API V2 analogue of canceFileLoad and cancelFileUpload
In my iOS app using Dropbox API V1 I cancel file uploads and downloads using code similar to this: [self.restClient canceFileLoad:dBox.cloudURLDropbox]; What is the corressponding V2 method call ... I've spent some time looking throught the docs and for the life of me I cannot see what to do! Thanks, Steve
-
problems uploading text files iOS
Hi everbody, in order to upgrade my app to Dropbox 2 I was trying upload and download festures. While download seems to work I have some problems with uploading. I am working with textual file with a small size, maximum 1 MB. I followed the tutorial but after the upload is finished I only see on dropbox an empty small file…
-
Upgrade from Dropbox API V1 to V2?
Is there any way to transfer over from v1 to v2 without the developer's help? I am an avid Survivalcraft role player, and since this "update", several of people I am very close to have lost all means of communicating with me ( we normally do so via Dropbox, on Survivalcraft 1.29.) And several others. Please help! (Our…
-
Where to put redirect URL after authentication?
Fairly new to the .net architecture and trying to incorporate the dropbox API into our webapp - we have OAuth set up, and currently we are sending both antiforgerytokens and the redirect URL in the 'state' parameter (as seen here) however the encrypted state we are sending becomes too long as the redirect URL is long to…
-
UID in oauth2/token response
Hello, I see that you have officially removed your v1 API. Regarding the UID, it seems to still be present in the oauth2/token response https://www.dropbox.com/developers/documentation/http/documentation#oa2-token Although it is deprecated but do you have any plans to remove uid from this endpoint anytime soon? I want to…
-
converting form API1 to API 2 on Power Query
I have been using API1 to pull individual files inot Excel Power Query using the syntax below. Can anyone help with correct syntax under API2 please? My whole company reporting collapsed overnight. Thisiis my old path…
-
How to sort Dropbox files/directory
Hi everybody, is there a way to sort automatically an array of DBFILESMetadata (Folder + Files) downloaded from Dropbox? I am updating my iOS app with Objective C. Thanks and regards, Giordano
-
couldn't upload using a python script
hi i am trying to use this simple python code to upload but it doesn't seem to work, the output looks fine with no errors, but the file is never uploaded, when i try the same curl command on command prompt it works fine. p = subprocess.Popen("curl -X POST https://content.dropboxapi.com/2/files/upload --header…
-
Attempt to read from field 'java.util.List com.dropbox.client2.DropboxAPI$Entry.contents' on a null
I have an android application which has been working perfectly until now. Recently, I'm having an error regarding the dropbox download. I've been using this app and the dropbox download for months but I never had this error yet. I tried to solve it but I found nothing similar. Is something wrong with dropbox or I made some…
-
Official Ruby Gem outdated
Hi, using the official Ruby Gem, maintained by dropbx inc (https://rubygems.org/gems/dropbox-sdk). I is now oudated(?) It fails in parts with "v1 retired" Our users are using it daily and I believed the official gem would be compatible to v2. What to do? Thanks and regards, Phil
-
Share folder to team via Java SDK
Hi! Please, I can't find out information about how to share a folder or a file to the team. I found how to share to users only, like this: client.sharing().addFolderMember(...)
-
'dropbox is not a package'
So I'm trying to get started with backup-and-restore.py. I've run pip3 install --user dropbox, and the output of find /usr -name dropbox is $ find /usr -name dropbox /usr/lib/python2.7/site-packages/dropbox /usr/lib/python3.6/site-packages/dropbox So it's definitely installed. However, running the file leads to Traceback…
-
Exposing client_secret when only implicit grant is used
I am the developer of an API v1 app that I'm in the process of migrating to API v2 and OAuth 2. For security and privacy reasons, the users' auth tokens are never sent to any third party servers (i.e. only to Dropbox), and I want to keep it that way. In order to migrate the users to API v2 as seamlessly as possible, I…
-
Api v2 for Auth2
HI, I am new to dropbox api . Trying to start with java documentation for auth but documentation is so confusing. I found that https://api.dropboxapi.com/oauth2/token should be used but on https://dropbox.github.io/dropbox-api-v2-explorer there is no way to try or…
-
Support for iOS
Hi everybody, I am upgrading my iOS app to Dropbox 2. In the documentation I read: * Safari view controller auth (iOS only): This launches a SFSafariViewController to facillitate the auth flow. This is desirable because it is safer for the end-user, and pre-existing session data can be used to avoid requiring the user to…
-
API throws does not exist exception when file clearly exists
Using Python API. Ever since Sept 26, we have been receiving thousands of ApiError.DownloadError.get_path.is_not_found exceptions a day when trying to retrieve files that are clearly on dropbox. Process: * We ask for listing of what files exist. * Iterate over that list, trying to download the files * Get thousands of…
-
Thumbnail V1 Stop Working- Super Urgent
Is api v1 Thumbnail call shutdown by Dropbox ????????????? api-content.dropbox.com/1/thumbnails