-
Shutdown client
Hi Dropbox team, I would like to ask you about shutdown client object. Is there a way in sdk-java to shutdown the client object ? Something like AWS is doing ? AWS-shutdown . I cannot use revokeToken operation becasue all my tests fail. Thank you for you response.
-
Python SDK File Uploading - Working with the Response
Hi there, I am new to interfacing with the Dropbox API and am using Python 3.6 I am uploading large files to my account using the following function called dropboxupload (not my own) . I simply call it at the end of my code: import os import sys from tqdm import tqdm import dropbox filenameonly = sys.argv[1]…
-
http header issue with file send via php curl
I keep getting errors in my php code regarding a missing authorization header in my http request using curl. This is what my code looks like: $doc = $_FILES['Resume']; $filename = $doc['tmp_name']; $dropbox_token = "token"; $dropbox_url = "https://content.dropboxapi.com/2/files/upload"; /*$dropbox_api_headers =…
-
How to go through a shared folder and move some of them to a new folder within the shared folder
Hi, I am currently looking for a way to get the files from a shared folder link and move the recent ones to a folder inside the same directory. Then, I have to download all the files inside that directory. Can you help me with this please ?
-
Android: How can I download file with my custom Download manager using bearer access token?
I'm creating an app that help user download their from from their cloud drives (Dropbox, Google Drive). I create an download manager to let user download, pause, resume, eta, speed... So, how can I get the direct download link to a file in Dropbox to download it with the granted access token? With Google Drive, I can by…
-
Error 409 with download_zip on shared link subfolders
I am receiving HTTP error 409 when using https://content.dropboxapi.com/2/files/download_zip. I am using the folderIDs gathered from files_list_folder, based on a shared link. The below is how I am forming my POST (in Python): def download_zip(folder_id): url = 'https://content.dropboxapi.com/2/files/download_zip' headers…
-
OAuth2 on device with limited input capabilities
So I'm looking into options for an embedded device to authenticate a user via OAuth and thus allow access to their stored documents. The issue is the devices don't really have a robust browser, and have limited input capabilities. I know that Google API has something that will work OAuth2ForDevices. Basically as I…
-
Read a folders activity with the dropbox api
I have just started playing with the dropbox api and using python to access my dropbox folders. I have successfull been able to connect to my dropbox account and explore the folders sorted on this account with the following few functions. dbx = dropbox.Dropbox(token) res = dbx.files_list_folder(folder) metadata =…
-
Using API to copy a file to a folder not accessible to the user copying file
Hello, Strange question here: I am working on an excel timesheet application for my company. Having searched a bit I can't seem to find anything on this topic and would like to get some feedback on feasibility. What I currently do: Our employees fill out a timesheet in excel which details some important information in…
-
Sharing link doesn't link to the recently updated version of the file
I have noticed this issue(The sharing links are not getting updated whenever a change is made to a file. The sharing URL still shows the initial file.) in 2 places. 1) In the dropbox in node from the node-red-node-dropbox module in Node-RED. This node should constantly watch a Dropbox folder for changes and it should emit…
-
Can I use business app to access personal dropbox?
We provider an integration to our customers to upload files created by system. It works well for personal account. Basically, the process is the customer use Dropbox File Brower pick a folder, and our system saves that folder and upload files. However, I found this doesn't work if my customer is using Business Dropbox…
-
Generate thumbnail URL using CORE SDK
I am accessing the images' URL via CORE SDK. But, now i want to generate thumbnails to show the images in a grid. And, accessing the actual image for the grid is causing glitches due to heavy loading of many images at the same time. I want to generate thumbnail URLs of images stored using the CORE SDK. I don't want to…
-
Python - what to type to get the shared link of a file?
I need a little bit of python help. I've learned how to create a shared link, but if a shared link is already created on that file, it errors out. shared_link_metadata = dbx.sharing_create_shared_link_with_settings("/temp/hehe.txt") print (shared_link_metadata.url) How do I check if the link already exists and how do I…
-
Getting 409 error when calling list_folder/continue on renamed folder
Hi guys, I'm using your API in order to fetch the folders. I'm accessing the endpoint "/2/files/list_folder" for the first request and then using cursor I send the rest of the requests through "/2/files/list_folder/continue". Everything works perfectly until I change the folder name in Dropbox(UI). Then, I get the…
-
Restricted Content Error for "Get Started with Dropbox.pdf"
I am getting the following error while downloading "Get Started with Dropbox.pdf" in Dropbox { "error_summary": "path/restricted_content/..", "error": { ".tag": "path", "path": { ".tag": "restricted_content" } } } Thanks for the help!
-
Dropbox changes IP of authentication and upload servers
Hi all, Dropbox changes IP of authentication and upload servers every some times? In my farm, from my app developed using Node RED, I need to upload a xls file to Dropbox every 24 hours. In my farm we have a proxy and a firewall that have special rules for outputting the files to Dropbox. But the Dropbox IP change…
-
VBA Code to copy a file on shared Dropbox and paste in another area on a shared Dropbox
Hello, i have a spreadsheet that allows user to click a button and add information about the member. this will then add the details to a new row under the subheadings provide. However the main thing the macros does is it copies a folder template on a shared dropbox, renames it and puts in the designated folder. Private Sub…
-
Dropbox API Error on Upload: Incorrect offset
hello, I have written an app with which you can upload all kinds of files into a dropbox folder. I have already spent several hours trying to fix the error on my own, but I can not find a solution. Whenever I try to upload a file larger than about 30MB, the error message "incorrect_offset" appears. Imports System.IO…
-
Download speed
We are facing difficulties with Dropbox Download API speed. It´s very slow compared to other APIs, like Onedrive and Google drive. For example, the same file that takes about 6 seconds to download with Google, using Dropbox it takes 2 minutes. Is anyone having the same issue?
-
Downloading, Getting metadata and Revisions of shared to me file
Hello. How I can get a list of revisions (and other data) of the shared to me file (Only a file is shared, not folder). I uses the method client.Sharing.ListReceivedFilesAsync() for getting the list of shared to me files. But all the methods…
-
Working with Individual API and Business API endpoints?
I am trying to look up all members of a team using the business API, and then identify the user's root field and download all the files. I've got each individual element working but I can't for the life of me figure out how to get the business and user api's working in tandem. Any advice or documentation on this?
-
Error occurred while downloading revision content.
Hello. Could you please help me. I want to download content of all document revisions. For example 1. I got file metadata 2. I got all revisions (3 revisions) 3. I got the error (path not found) when i trying download content of document that is not last version. You can see in vebsite part that document has lost all it…
-
API to set_password for shared folder?
Using create_shared_link_with_settings I am able to share a folder and set a password for it. But I don't seam to find any way to *change* this password? How do I do that through the API? Is it possible? I found update_folder_policy for this, but it's not usable for an "App Folder" app. (I'm getting the error: Your API app…
-
Get folder URL
Hello! In my application users can upload images to any folder of their choice. I want to add the ability to open this folder in a browser from the app. What is the appropriate way to get the folder URL? It is pretty straightforward when the folder is shared: the sharingGetFolderMetadata method does the job. But how can I…
-
[python and Dropbox API] New users cannot access files in my /app/ folder
Good morning, I have been developing an app for my company that uses Dropbox to store some files that should be read/written to when the user uses the auto-py-to-exe .exe I've made that is locally installed on our user's computers. This is my first time using Dropbox's API so the finer points may have been lost so please…
-
Get all content from a directory
Hello, I am using dropbox camle component and I am doing a search peration. Documentation states that if query param is not set all the files of the defined directory (remotePath) will be returned. But using the following uri I get no results for a directory that contains 3 subfolders "dropbox://search?accessToken="+…
-
save_url endpoint to overwrite any files with same names rather copy? (v2)
I am creating an integration using Postman Monitors. And I need to be able to overwrite any files with the same name when uploading using save_url. Is this possible? Cause the only other way I'd be able to do this is to delete the whole contents and painstakingly upload everything :sob:
-
When do webhooks fire when editing Paper docs?
Hi, Could anyone provide more detail on the webhook policy when editing an 'auto-saving' document like Paper? The document appears to save automatically according to changes made and some idle time - does a webhook notification (potentially) fire each time this happens? Thanks in advance!
-
Getting content of Team's root folder, can't find good documentation of Dropbox-API-Select-Admin
Hi Dropbox Team. I try to get the content of my Team's root folder. Here is my call: curl --location --request POST 'https://api.dropboxapi.com/2/files/list_folder' \ --header 'Dropbox-API-Path-Root: {".tag": "home"}' \ --header 'Dropbox-API-Select-Admin: {"member_id": "dbmidXXXXX"}' \ --header 'Content-Type:…
-
Application token key
Is it possible to get a token key only with APP_KEY and APP_SECRET without redirect_uri the authorizing URL that needes the user to open the URL in a new tab and copy-paste the code? If not, can I assume that this code will never be expired?