-
dropbox python sdk
Could anyone help me please? I have a few lines of code in Python: from dropbox import Dropbox dbx = Dropbox(<my_access_token>) dbx.files_download_to_file(dst, src) During executing this code an error is raising up: http_resp: expected requests.models.Response, got <class 'requests.models.Response'> And i do not know what…
-
Dropbox for Business API Access token login process.
Hi There. I have an iOS apllication written in Objective-C. I have successfully integrated Dropbox API in my app and I can upload and download data from dropox even using the Access Token for it. Short code sample to dowload data as per the document as follows: [[client.filesRoutes listFolder:dbPathToIpad]…
-
using dropbox api to read and write json in production - race conditions?
I'm wondering if there will be "race conditions" if I use the dropbox api to read and write json. There are no individual users - authorization is via access token. When a user comes to the site, they'll type in their name and take a quiz. When they click submit at the end of the quiz, the user's name and score will be…
-
To get Download able URl
I have try to use the way I was told in my previous ticket. try{ $client->request('POST', config('providers.providers.dropbox.create_shared_link'), [ 'headers'=> [ 'Authorization'=>'Bearer '.$acc_token, 'Content-Type' => 'application/json', ], 'body'=>json_encode($parameters) ]); }catch(ClientException $exception){ $url =…
-
get_temporary_upload_link returns corrupted link
Hi support, When using the get_temporary_upload_link API i successfully get the upload link, but when a user tries to POST some data to it I get this error: Temporary upload link is corrupted. A new one needs to be generated. This happens every time. Any clues to what I could be missing? Thanks, J
-
Get the folder Size & Date
I am working on a PHP (Yii2) extension that uses DirectoryInterface and we can configure multiple adapters for that interface and DropboxAdapter is one of them i am working on. I need to get the size of the folder using the API , i was looking into the Dropbox API Explorer and couldnt find any thing relative to the folder…
-
File uploading error
Error uploading to Dropbox: Exception in upload: {".tag":"path","reason":{".tag":"conflict","conflict":"file"},"upload_session_id":"AAAAAAAAAQdoevdEEZbGaw"}
-
VB .NET FileUpload using ChunkUpload() error lookup_failed/not_found...
I'm trying to use this code to upload a 12mb file in [Backups] folder. I converted this code from Git dotnet C# example to VB .NET code, but I get Error [File_Not_Found], when I debug this code I noticed that sessionID never returned with value either. Await ChunkUpload("/Backups", "C:/File.png, (Int(ChunkSize))) Private…
-
Thumbnails
Hi, I am using dropbox V2 API (current version from npm 3.0.4). Working with VueJS / Nuxt. And I am trying to get thumbnails from dropbox folder, This console message I am getting (Dropbox-sdk.min.js) TypeError: t.buffer is not a function And this is code I am executing dbx.filesListFolder({ path: '/Website/1. Overview',…
-
How to read a shared folder link in v2?
When I share a dropbox folder by passing a link to someone, the format is something like: https://www.dropbox.com/sh/someid/someotherid?dl=0 Here is the API to read a shared folder: https://www.dropbox.com/developers/documentation/http/documentation#sharing-get_folder_metadata What is the folder id? I tried every part of…
-
I need a clean working example of CREATE FOLDER
I tested many examples, but always get a issue about some missing parameter. For a beginer on this, like me, it became frustative. A clean example like "url-dropbox-api- functio+key+secret+token+folderToCreate" in a lite javascript function without any jquery on this. You know?: the clear way to something. Even a static…
-
Download dropbox images to Netlify build folder
I'm trying to retrieve images from my dropbox folder into my Jekyll build on Netlify, but the images are unreadable with the following code. I think that I'm using the wrong conversion for the contents. dbx .filesListFolder({ path: "/images" }) .then(response => { response.entries.forEach(entry => { const { name,…
-
C# android http request error
Hey folks! I use official dropbox package via C# data = await fileMetadata.GetContentAsStringAsync(); It perfectly works on windows but recently on android it started throw following error: Dropbox.Api.BadInputException: Error in call to API function "files/download": Bad HTTP "Content-Type" header:…
-
generate file preview link
How can we generate a preview link for a file and use that link to display the file in our web app? can we also attach link expiry
-
download blob using dropbox Saver
Hi, I am trying to use the dropbox Saver (https://www.dropbox.com/developers/saver) to download a json blob from my desktop (ubuntu). This leads to an error: Url "blob:http://localhost:5000/f58ddb0b-48ed-46ab-87b3-f45a1ee8a7df" uses unsupported scheme Is it possible to download a blob using Saver ? If so, any ideas what I…
-
developing desktop application .NET 4
Hello, I'm developing a desktop application using visual basic 2015. I need to use dropbox to store backup files of my application. I've created an app with Permission type [App Folder], I've set the redirect URL to [http://localhost]. I've tested dropbox in my application using generated access token, using this cpde :…
-
Can you help me integrate Dropbox with my CRM? Are there any APIs for this?
I am trying to integrate Dropbox with our CRM. I want to solve the following use case. I am an old dbx user and I have many folders by account names. For e.g. my account name 'Amy Woods', already exists in Dropbox. Now I have decided to buy a CRM software to maintain my client data. I create my account 'Amy Woods' in my…
-
Access Token
Is there Any way to generate Access Token without Authorization Code. Actually I was Implementing it in Salesforce without using Visual force Page.... And what is Expiration of the Access Token... Here is my code public class DropboxController { //Fetched from URL String code; String accesstoken; public DropboxController()…
-
Postponed Dropbox saver
Hi, I want users to upload a BLOB using the Dropbox Saver. Because the Saver only supports URLs, I upload the BLOB to my server and it generates a temporary URL I can than submit to Dropbox. This means a user click on Save -> start the upload -> once successful, a callback to the Dropbox.save() API. However, Safari does…
-
unable to get all Image details information from Metadata (media_info)
how to get all the Image details information from metadata using api v2. In api v1 we were able to get below information but now how we can able to get these kind of infromation from V2. example: "contents": [ { "size": "2.3 MB", "rev": "38af1b183490", "thumb_exists": true, "bytes": 2453963, "modified": "Mon, 07 Apr 2014…
-
.NET 4.0 Reference could not be resolved
Hi there I am currently trying to integrate Dropbox into a bigger system running .NET 4.0, the issue is that when I install the Dropbox.Net NuGet into my class library and rebuild the solution, I receive the following errors, from another library that references it. Severity Code Description Project File Line Suppression…
-
View a file using a authentication token
I have a general question. Is it possible using the dropbox api to view a file using an authentication token rather than logging in? I am creating a website that uses dropbox to store documents that are not for public viewing. I dont want to enable link sharing (which I have done successfully already for something else)…
-
How to only upload newest file with python 3?
Hello I am working on an app and have developed code for uploading video that I have taken with a camera setup. The problem I have been facing is that using python 3 I am only capable of uploading a single folder and every time a new video is added every video is reoploaded every time even if it is already present in…
-
getThumbnail error unsupported image
My app using dropbox to put the uploaded photos, but sometime when I try upload image with size 10 MB, occured error unsupported image, . any one can help to get thumbnail with the size
-
Authorization web page not redirecting back to my app in Android
In our Android app, I am having an issue where the dropbox.com authorize web page does not redirect back to our app when the user clicks the Allow button. I wrote a sample app and the OAuth2 flow works fine with that app on the same device\environment. The first time you click the Allow button once the page displays, the…
-
sharing/get_file_metadata fails for admin
Hi I tried to call sharing/got_file_metadata with the admin id, and with "Dropbox-API-Select-Admin". It failed and returned "invalid_file" When I use the same file id with it's owner id, it works as it should. This behavior contradicts the documention, wich clarifies that this EP supports Select-Admin with a "whole team"…
-
how do i add/invite members to team member management access programatically
how do i add/invite members to team member management access programatically using C#. Sample code is appreciable
-
get_temporary_link and could not decode input as JSON
Hello. I'm trying to get a temporary link for file with using get_temporary_link from file_properties with below listed PHP code: $getlink_url = 'https://api.dropboxapi.com/2/files/get_temporary_link'; $getlink_headers = array ( 'Authorization: Bearer '. $token, 'Content-Type: application/json', 'data: '. json_encode(…
-
Multiple Users Upload Videos from Phone to the one Dropbox Folder
Hello, I am wondering if this is possible with Dropbox... I want mulitple guests of an event, to be able to upload their videos from their phone to the 1 Dropbox folder. I know you can create a File Request Link.... But I want to make it easier than trying to get everyone the link. I want them to be able to download an…
-
Mode for Dropbox-API-Select-Admin header
How to set mode of Dropbox-API-Select-Admin header to "Team Admin" ?