-
dbxClient.files().listFolder("") only returns 1 folder
I want to list all the files under my member ID. I use the following code and it only show 1 folder even though I have 8 folders starting from root. DbxClientV2 dbxClient = dbxTeamClient.asMember(teamMemberId); ListFolderResult fileRes = dbxClient.files().listFolder(""); List<Metadata> folders = fileRes.getEntries();…
-
oauth2/token endpoint not returning refresh_token
My app starts the oauth flow with a URL like this: https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=<APP_CODE>&token_access_type=offline After the user authorizes the app and I get an authorization_code. And I use that code with the oath2/token endpoint, I am sending the following data: code =…
-
Does Dropbox business supports SCIM
Hii , Does dropbox supports SCIM protocol for user provisioning and deprovisioning. I checked DropBox documents, they provided http protocol based data crud operation in the site https://www.dropbox.com/developers/documentation/http/overview . Kindly, provide me doc link or details if the dropbox supports SCIM protocol.…
-
Incorrect content type returned when downloading images from dl.dropboxusercontent.com
A content-type of "application/json" is returned whenever requesting a public image hosted by dropbox. I've tested with both a png and jpg $ curl -I https://dl.dropboxusercontent.com/s/REDACTED/name.png?dl=1HTTP/2 200accept-ranges: bytescache-control: max-age=60content-disposition: attachment;…
-
Refresh token without using oauth
Dear all I am developing a web platform for managing a company file. It will mainly allow certain employees or external users to upload files on the company's dropbox account. Every actions like folder creation, file addition, etc, will be done exclusively on the company's dropbox account, so I do not need the…
-
Remove group from team folder, lack of documentation
Hi, after successfully adding a group to the team folder I've created (thanks again to Greg and Sdrawko) I also tried to remove that very group afterwards using /2/sharing/remove_folder_member with the following json parameter: { "leave_a_copy":false, "shared_folder_id":"3032413665", "member": { ".tag":"dropbox_id",…
-
Is posible upload file whit PHP and get public share link to file?
Hello, I want upload a file whit API PHP. But i want get the public link share to my users download the file from their home. Is posible?
-
Unable to update access token in postman.
-
Trouble moving individual file based on selection in listWidget: Python API
Hello, I'm struggling to interact with a file in a folder based on the selection in a listWidget. I have verified the selection works as I can remove selected items from the listWidget. I however am having difficult moving the file in dropbox to another folder. Here's my method: def archive(): itemList = [] currentIndex =…
-
Folder Issue - Path Not Found
Hi, I am trying to upload some videos to our Dropbox account and I am getting a path/not_found exception but the folder exists. The function I am using is: client.Files.GetMetadataAsync(folderId) and the NuGet version 6.13.0 Can you please help?
-
/list_folder/get_latest_cursor -> shared_link
Hello, I noticed that for get_latest_cursor you can add a shared_link parameter. If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is contained in the url. However, I have a problem with creating json with parameters in which there is a shared_link parameter. How…
-
Issue unsharing a folder using API
I have a issue related to shared folder unsharing. I gonna post the requests and corresponding results. Running 2/sharing/list_mountable_folders: curl -X POST https://api.dropboxapi.com/2/sharing/list_mountable_folders \ --header 'Authorization: Bearer sl.BQ...' \ --header 'Content-Type: application/json' \ --data '{}' ...…
-
Issue creating default specific name folder in DB teams account after authentication.
Hi, I have an iOS objective c application connected with dropbox api. It creates and access folder path "Apps/VA "after authentication. but recently when new user authenticate though the app using DB it creates a random root folder before Apps folder example : x-24a0a279/Apps/VI Is anyone else facing similar issue and is…
-
Dropbox API 409 error randomly
I am using access token to access dropbox API to `list_folder`, `download_file`, `downloadfile_zip`. And the result is 1. https://api.dropboxapi.com/2/files/list_folder api can sometimes return the results, I tried 10 times, 2 times get the results, the other 8 times with the exact same request parameters will get…
-
Dropbox Java SDK - does "listRevisions(String path)" return ordered list of revisions?
Hi, I need to know if the order of returned file versions is guaranteed for this method https://dropbox.github.io/dropbox-sdk-java/api-docs/v5.2.0/com/dropbox/core/v2/files/DbxUserFilesRequests.html#listRevisions(java.lang.String) ? I need to restore the latest previous version of a file if a version id is not provided for…
-
Creating an app that accesses a folder on my personal account
Hello, I'm having trouble getting started on this and was hoping to get some help. I want to make a photo gallery app. This app does not require end user to sign in to a dropbox account nor create one. I want the app simply to access a folder on my personal dropbox, which has the photos. Is this use case possible for me? I…
-
Error when adding team members to an initally created team folder via http endpoint
I'm making REST calls to the DBX HTTP endpoint from within SAP. My app has full dbx access and all possible rights. Creating a team folder works flawlessly but when trying to add members to that folder via the /sharing/add_folder_member API I get a strange error: Error in call to API function "sharing/add_folder_member":…
-
Dropbox list folder API not returning folder items.
Previously I have used the following API end-point to list all files in the folder https://api.dropboxapi.com/2/files/list_folder Now its not working as previous, it returns empty list Is there any new API update from Dropbox. ?
-
Access token not beeing refreshed automatically
my application support old dropbox and the new one. when creating the client i am creating it like this client = new DropboxTeamClient(request.AccessToken, request.RefreshToken,request.Expires,ClientId,ClientSecret); and then using it in this way first Way var members = await…
-
Java api : How to get already-created download link for a file?
public String uploadFile(List<File> list, String dropboxPath) throws Exception { StringBuilder sb = new StringBuilder(""); for (File f : list) { try (FileInputStream in = new FileInputStream(f)) { UploadProgress prog = new UploadProgress(f); FileMetadata metadata = client.files().uploadBuilder(dropboxPath +…
-
Listing files using Dropbox Python
I am trying to access files stored on my Dropbox using the offical Dropbox SDK for Python.. I tried a few ways of putting in the directory name whose contents I wanted to have listed based off of a script taken from this link https://practicaldatascience.co.uk/data-science/how-to-use-the-dropbox-api-with-python. Following…
-
Re: can i pass the email and password in the url of dropbox to automatically login to the dropbox
Hi, with the auth url "https://www.dropbox.com/oauth2/authorize/?client_id=<key>&token_access_type=offline&response_type=code", it require user login my dropbox account first, and then return a code. it is not make sense. If every user can login my account, why we need the secret key ?? With a request link to upload far…
-
Shared folder between two premium account
I'm using java SDK 4.0.1 and the sharing function doesn't work correctly with a premium account dropbox. From the original account, my folder is correctly shared with the user, but he can't see the folder. If i use a free account there is no problem. Any idea ?
-
API usage queries
Hello Dropbox team,We are planning to add a feature in our application where users can import the documents from dropbox. I have got the following questions. * As per the plans here https://www.dropbox.com/business/plans-comparison, the limit for API calls is only for data transport. Transfer data from your existing…
-
Getting an upload error - not sure why
I recently ran into the issue of the long lived tokens no longer working, so I needed to upgrade to the latest API and change the access. I am now running into an exception uploading content. My old upload code was this (and nested other uploads if the first was successful), but this API was no longer present.…
-
Upload folder using API
How can I upload a folder using API call?
-
get photo link to bank
Hello, I need help, how can I get the link of a photo uploaded to store in the database?
-
Javascript SDK - Auth, getting tokens, setting tokens
Hello! Im building a React app with the Javscript SDK and am having issues getting a refresh token and access tokens (browser-side, not backend). Im setting up DropboxAuth const dbxAuth = new DropboxAuth({ clientId: '90dgr7j93zv48ct', clientSecret: process.env.REACT_APP_SECRET }) then using it when my component mounts to…
-
dropbox refresh token expiration
Hola, Tengo un problema con el token de validación de mi app de dropbox, vence cada tres horas y no se como generar uno sin fecha de vencimiento ya que tengo que estar generándolo manualmente para que mi app pueda estar funcionando. ¿Me podrían orientar para saber cómo solucionar este problema?
-
Integration to Dropbox suddenly failing
I have a simple app that uploads a set of files to Dropbox as a back up - been working fine on V2 for years now it fails. Token is expired apparently. I updated my cocoa pod today - but that brought more errors - Xcode fail to build, but the errors disappear and I have no idea what is broken. I noticed the…