-
not getting geo_location on audit logs
Hey, when I use get_event (https://dropbox.github.io/dropbox-api-v2-explorer/team/#team_log_get_events) 1. the geo_location property inside the origin of the event sometime not exists. 2. sessionId is an empty string logging like: "origin": { "access_method": { ".tag": "end_user", "end_user": { ".tag": "web", "session_id":…
-
Error 500 on /2/files/upload_session/append_v2
Hello! We have random error 500 when we tryed upload files. What reason can be? [2020-02-17T22:51:06+03:00] ERROR '***' upload have been ended with error: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: ''' [2020-02-17T23:24:48+03:00] ERROR…
-
The address is not understood error authentication
When trying to authenticate my web platform for file upload using the 0auth2 code flow, I experienced a error. I got my php code to use a header to reach the correct dropbox url for 0auth which worked. I log in, and press accept to allow the app to work with my account, then I get a error in firefox "The address was not…
-
API for appinventor.mit 2
I've learned to do some app building with appinventor.mit 2 and I'm now looking to create and upload to a database. I was wondering if I could store and retrieve to a database from within my app without Dropbox opening?
-
Dropbox Chooser Query
We want to use dropbox chooser to import files into SITS, our Student Records System via the webapp. We have a couple of questions we need to confirm the answer to before we can integrate this. * When the student clicks "Upload from Dropbox" using the DB chooser app, are the files uploaded into our Dropbox account before…
-
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…