-
list_folder_continue -> 504 errors
Hello, I'm using `list_folder_continue` of the Python SDK to recursively traverse (via pagination) a folder with a very large number of files (hundreds of thousands). After a while, I'm running into internal server errors. Here's the log: 2018-09-24 20:09:12,831 - dropbox - INFO - Request to files/list_folder/continue…
-
Search Folder or File with SearchV2Async
Hi, I am trying to search for a specific folder in Dropbox using `Files.SearchV2Async` function in Dropbox sdk. The search option is set to look for only the active files/folders, but with this option set `Files.SearchV2Async` returns even the deleted folder (the result for the deleted folder has IsDeleted flag as false,…
-
Multiple users interacting with one Dropbox account via the API
Hi! I'm building a JS web app that requires end-users that are logged into the app, to interact with one Dropbox account via the API. The interaction is based on new files being created when a when a form is submitted, triggering an API call and using information from the form. However I'm unsure how to go about the auth…
-
Dropbox API: How to check if user can create shared link without calling create_shared_link_with_set
I build an app and I am would like to proactively inform the user they could not create shared link on a file/folder without them clicking the button and handling the error. My question is, what API should I check to achieve that?
-
How can I read files from Dropbox to display on my React webpage?
Hello, I was able to connect to Dropbox and make a call dropbox.files_list_folder(path="") to fetch information about files I have uploaded to my storage. However, I just can't find a way to display the image to my webpage... I tried using 'path_display' field to try to get it done but it doesn't seem like this will let me…
-
Paid Support for Long Live Access Token
Hi everyone, we want a long live access token for our new application. Please provide support or help for the same. thanks in advance.
-
API for Direct Sharing Setting under Security
I have developed an application to assign and remove folder/file permissions to external users through API for my organization. It only works when we set "Direct Sharing" to "On (Anyone)", however we are looking to update it to "Team + Approved" and for this we need to add external users under Approved list. It will be…
-
Dropbox AP: How to check a private folder when list_folder
How can I check if a folder is private folder when calling list_folder endpoint? Can it be done in the Dropbox .NET SDK?
-
Catching path/conflict/folder in CreateFolderV2Async
Not sure if y'all are on StackOverflow (I THINK so?) but I'm having issues with path/conflict/folder exceptions from CreateFolderV2Async, that being that my code successfully catches said exception, but then it still manages to show up in my global unhandled exception handler, which it shouldn't be. Not sure if the issue…
-
Problem with download a folder as a zip with API
I try to use this API a lot of time, but it always download a document file which I even could not open. It will be better more if you teach me how to implement this API by using Java JDK. The upload api is the same case with download, when I upload any file, it will upload a document file which I could not open. Thank you…
-
SwiftyDropbox SDK + Sign In With Apple?
My app uses the Dropbox API to allow users to backup their data to their own Dropbox account. I have a button called "Sign in to Dropbox", which launches the auth flow. Once connected, the user's data is automatically saved to Dropbox. Works great on Android. Unfortunately, Apple are being very Appley and have rejected my…
-
dropbox.exceptions.AuthError: expired access token
When I run an app I developed, I get an error. dropbox.exceptions.AuthError: AuthError('89ade68e26bd49d592d01bfbfae5659b', AuthError('expired_access_token', None)) What could be wrong with my OAuth code? def oauth_flow(): return DropboxOAuth2Flow( APP_KEY, 'https://dropbox-notifications.herokuapp.com/oauth-callback',…
-
Preview the file data of files inside a zip file.
Hi Im currently listing the contents of a folder using the /files/list_folder end point. I need to be able to list the contents of a zip folder. What might be the best endpoint for this?
-
Dropbox authorization - refersh token
Does refresh token is long-lived?
-
golang file upload
Hi, I was able to upload a file using golang using this: var ( body = &bytes.Buffer{} writer = multipart.NewWriter(body) ) b := dropboxAPI{ Path: "/" + name, Mode: "add", Autorename: true, Mute: false, } header, err := json.Marshal(b) if err != nil { return nil, errors.New(fmt.Errorf("json marshal, err: %#v", err).Error())…
-
Non expiring token kept on changing
So i tried following this article about obtaining my perm app token. I did the exact steps. but it always gives me a different Token when i try to access the link https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Tokens-only-valid-for-4-hours-from-app-console/td-p/425269 am I doing something wrong here? it feels…
-
JavaScript GitHub Action to Upload Build Artifact to Dropbox
Hi... first confessions - while I understand OAuth flow at a high-level, I'm not super familiar with the details. I've poked around quite a bit here and on Stack Overflow and cannot find the answer to what seems to me to be a pretty simple request. I have a Wiki on GitHub. As part of a commit Action, I want to bundle some…
-
missing_scope on CreateSharedLinkWithSettingsAsync C#
-
Download invoices using Business Endpoints
Hi, I'm trying to figure out if it's possible to download invoices of a Business Account using the API? I haven't found anything yet but was wondering if that's because it doesn't exist or because I can't use a search function? My use-case would be that I could then write a simple application that then automatically…
-
NewConnectionError
I have recently started getting the following intermittent error when attempting to upload a CSV file to my Dropbox account from a python application running on a Raspberry Pi HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/upload (Caused by…
-
Token expiry
Hi there, Where can I change the expiry time for an app's access token? The option used to be under "settings" but I can't find it today! Thank you
-
API V2 Access team folders of bussines plan with Folder/Files operations
i want to acces team folders using application user api for list,create folders, upload and download,etc.. and i'm going crazy. In API Explorer with function "list_folder", only can acces user home folder, y try put in path the id of shared id,or namespace ns; does not work either, The only way can view team folder stuff…
-
Using Curl & Dropbox API to upload files to a DB request link
I am wanting to create a BASH script in Linux to use when I need to load media files to a Dropbox request link that a group of mine uses for collaboration. How would I do this with curl? The link is in the form of https://www.dropbox.com/request/[REDACTED]. The web interface requests a NAME and an EMAIL ADDRESS when I hit…
-
deceptive site error
I have an app which connects to a dropbox account and sends notifications when certain changes are made. It had been working and connecting the given account. However, recently, this error comes up when it connects. Any idea why this is happening? Thank you
-
Error send file 150MB
Hi, I'm trying to upload a file over 150MB, and I'm using api v2 by the client.Files.UploadSessionStartAsync(body: stream) process, and I always get a message: Native library pre-loader is trying to load native SQLite library "C:\Users\xx\source\repos\ssxx\xxxx\bin\Debug\x64\SQLite.Interop.dll"... "xxxxxxxxxx" (CLR…
-
Functionality in API - Backup member data ( move to archive account) and Delete member.
Hi all, I am looking for a way to automate Member removal from organization , until now we have been manually deleting the members (while moving all the data to a differenet member as backup) , what would be the best way to automate it with Power automate or Logic apps ? Thanks
-
Problem downloading file from dropbox
Hi all , I can't get this to work: (part of a python class) def download_file(self, source_file): "Download a file from Dropbox" print('Start Dropbox download') with open(source_file, "wb") as f: metadata, res = self.dbx.files_download(path='F:/Profielmap/Downloads/DropboxToken.txt') f.write(res.content) I get error:…
-
Error downloading files using the dropbox library in python
Hi, I am trying to access the files in my shared folder (which I mount) using the python library. I keep getting the following error - dropbox.exceptions.BadInputError: BadInputError('xxxxxxxx', 'Error in call to API function "files/download": Must provide HTTP header "Dropbox-API-Arg" or URL parameter "arg".') I am sure…
-
Re: Preparing my App for long-lived tokens deprecation
Hi Greg Im using the long-live token for my simple Firmware-Updater app, but I have to switch the App from my development account to the company-account. The problem is that I can not get the long living access-token for the new App key anymore. My software (C#) uses simplest scenario: it connects with the dropbox-app and…
-
How to automate getting a new token using Java?
Now that DB uses "short-lived" tokens, I am having trouble "automating" token refresh within an application. Using the Java code examples, I can get the DB URL where I manually have to log into the DB site, get the new access code, and, again, manually, copy that back to the application (…