-
Python API
I'm working with Python & API v2 I need the following information: If I have a shared folder with several users, is it possible to obtain a record of the users who have visited or downloaded the files? --------------------- I was reading this information but I do not know if it's what I'm looking for. class…
-
How to download file from dropbox with Vue/Javascript
Hi, I have a vue application where I want to download files in a specific folder. But when I call the method to do it I am getting the following error: TypeError: Dropbox.Dropbox is not a constructor I am using the latest version of the following package: "dropbox": "^10.10.0", Can someone help me please? This is my code…
-
Retrieve NamespaceId from FileId
Our Dropbox integration currently works as follows: * User opens the DropboxPicker from our webpage * User selects a number of files or folders * Identifiers for the selected items are sent to our service (these are currently in the form of their IDs) * Our service uses the Dropbox .NET SDK to resolve the IDs and perform…
-
Will it be possible to create no expiration tokens in the future?
Will it be possible to create no expiration tokens in the future?
-
Dropbox API Explorer Business endpoints fail w/ "Your API app is not allowed to call this function"
I'm logged in as an admin on a Dropbox for Business test accounts. When I use Get Token in the business endpoints of Dropbox API Explorer and then try to use a command, such as team/team_folder/list, I get the errorError: 400 Error in call to API function "team/team_folder/list": Your API app is not allowed to call this…
-
Grace period extension for new auth system?
Hi, we have a small app that is used by a few groups in the edu community, blind people and a few individuals. It uses Dropbox as the only endpoint and therefor completely relies on Dropbox' services. The app is simple in its feature set and flow and receives only updates when urgently needed (like the auth update a few…
-
Not able to List shared links having edit access without file id
Hi, I am using below API to list down all files having shared links. I am making API call for each dropbox team member passing team member id in header (Dropbox-API-Select-User). https://api.dropboxapi.com/2/sharing/list_shared_links I am able to list all files which having read access level. But when I create a file from…
-
How to list the contents of a team folder?
I am using dropbox business account and API v2.0. I have team folder with many subfolders and files in it. When I call the api /team_folder/list I get the name of the team folder. But how do I get list the contents (both files and folders) of a teamfolder? I couldnt find any related api calls in the team section in the…
-
How can we handle if the dropbox short living accesstoken expires in the middle of the API Request?
How can we handle if the dropbox short living accesstoken expires in the middle of the API Request? here the scenario totally explained :- dropbox short lived access token have expiring time is 4 hours user logged in to the our dropbox api consuming application before 1 hour of access token expiring and user uploading some…
-
Crash when linking account on Dropbox JAVA API
Hi, I'm trying to build a JAVA app on Android studio, and I want to upload a file to Dropbox. However, when linking my account, it crashes. I have put my right token. The error happen on this line : FullAccount account = client.users().getCurrentAccount(); I have followed the exact same official tutorial on github, so I…
-
Corrupt file when transferring
Hello, follow my code below: *** Taux_API_Arg = '{' Taux_API_Arg += '"path":"/codechain/extrato.pdf",' Taux_API_Arg += '"mode":"overwrite",' Taux_API_Arg += '"autorename":true,' Taux_API_Arg += '"mute":false' Taux_API_Arg += '}' cBuff := FileStr("C:\Onedrive\fontes\ManagerDropbox\extrato.pdf") cEncBuff := hb_Base64Encode(…
-
Are long-lived token creations is going away on Sep. 30th?
We're working for updating our Android and iOS apps to support short-lived tokens, and trying to asses the impact it will have for our users, as the updated apps are not ready yet. Can you please update if September 30th is still the date in which long-lived tokens creation will be blocked?
-
How to find the present-log-in-account in the redirect_uri
I have a question about /oauth2/authorize end point. Now I'm developing an Android app. The app sends a request to /oauth2/authorize end point. (response_type=token) I could confirm that the endpoint redirects the data to a certain web-page that I had set in my app-settings (redirect_uri). At this moment, if I had already…
-
Only able to download 711 bytes of any file
Hi Folks, We are using Filemaker to download 2 files stored in our Dropbox account onto iPads. The files are 1.1GB and 200MB. We use a filemaker script step to use the URL of the files. Thursday morning (9/16/21), this was working with no issue. Since late afternoon on 9/16, every file downloaded only brings in 711 bytes.…
-
Webhook notification with wrong header
I'm using dropbox sdk java 4.0.1. I've configured my webhook url (in the app console) for receiving notification on my server. It works but I receive these headers in the notification: host my.machine user-agent DropboxWebhooks/1.0 accept */* accept-encoding gzip,deflate X- ropbox-Signature d4exxx65 content-type…
-
Possible race condition when creating in a folder in Team Spaces
When creating a top-level folder with the `files/create_folder` endpoint with a user account with Team Spaces, the folder appears to be created as a personal folder first and then converted and remounted as a shared folder in the root namespace (depending on the team settings). This can lead to strange error messages when…
-
Unhelpful error on "sharing/share_folder" API call with malfolrmed path.
When calling the `sharing/share_folder` endpoint with a path that contains disallowed characters, for example that ends with a backslash "\", the endpoint won't return a WriteError (malformed_path) but rather a HTTP error 500 (internal Dropbox error). This is not particularly helpful since it does not allow us to…
-
Migrating existing long term tokens to new short term tokens with Java SDK + Android
I have an existing app in production that authorizes with Dropbox using Auth.startOAuth2Authentication From my understanding this gives me a long term token, but after September 30th these tokens will no longer work and my requests using this token will 401. If I change my authentication to use Auth.startOAuth2PKCE then I…
-
PHP cURL chunked upload
Hi I have built a PHP to automate backups to dropbox amongst other things. everything works well with the exception of chunked upload. * No Errors are returned from dropbox at any point in the transaction * I am using split to chunk the file into 50mb chunks * run a foreach loop to upload the chunks via "Dropbox-API-Arg:…
-
BadResponseException: Bad JSON: expected object value
Hi, we are getting few errors of this kind com.dropbox.core.BadResponseException: Bad JSON: expected object value. at [Source: java.io.ByteArrayInputStream@3f3408aa; line: 1, column: 143897] at com.dropbox.core.v2.DbxRawClientV2$1.execute(DbxRawClientV2.java:158) at…
-
Access token
I use Dropbox API for only /download method. To access it, I've generated an access token by clicking on the "<get access token>" button from the example. How long does this access key "live"? Are there any restrictions on the number of requests for this method? If my scheme for working with the API is wrong, which option…
-
No more long-lived access tokens, whats the best strategy for own account usage?
Hi all, out situation looks like the following: we are simply sending the file to the upload url by dropbox providing an long lived access token to OUR account. But this is not going to work starting end of september, since long lived access tokens are not supported anymore. To fix that, we wanted to implement the…
-
Get all the data of an account using date range filters.
Hi Team I am trying to achieve all the files which can be stored in dropbox account based on date range and keyword filters. I can see the endpoint to get data based on keyword filters provided using https://www.dropbox.com/developers/documentation/http/documentation#files-search endpoint. Please let me know the API…
-
how to download multiple files using java sdk
Hi , I have created single user app. I am trying to download multpile files from dropbox. So Do I have to download file by file? Or can I batch all the files and download as a zip?. I was able to download whole folder as a zip. But I want only specific files inside that folder and download them at once using java sdk.. is…
-
video on my site
good day! I want to embed a video on my site. Everything was fine before, but now my videos on the site have stopped working. Is this an account lock? With what it can be connected? Copyright? According to the link, all videos work, videos do not work only after embedding the code on the site. At first they work for a…
-
Folder-scoped API access tokens?
Our company uses Dropbox for all document storage, teams work together on documents in large folder structures. My team of developers is wanting to use an external service to sync these documents from Dropbox to another system so that we can process these documents. We'd like to be able to issue tokens which are scoped to…
-
error: invalid code verifier
Hi. I'm developing a C++ application that needs to connect to Dropbox. I'm stuck at implementing OAuth. As documentation suggests: code_challenge String?(min_length=43, max_length=128) Part of the PKCE flow, the challenge should be an SHA-256 (S256) encoded value of a string that will serve as the code_verifier of the…
-
dl=1 option error
Hi, Until recently, I downloaded a file using the dl=1 parameter in my C++ code. ex) https://www.dropbox.com/{private_url}?dl=1 But now it doesn't work. If use Python's requests module with the same URL, it will work. And when you call another URL(not dropbox) with the corresponding C++ code, it is worked. This is my code.…
-
Dropbox SDK JS + Refresh token problem
Hello Please, do you have any idea how i can manage this ? Each 4 hours i get "expired_access_token" and user must re-log. I just upgrade my old Dropbox SDK JS to the last version 10.8.0 + I did the changes to be compatible. I have one Cordova app (iOS/Android/Win10). The goal of my app is to : 1. User connect on dropbox…
-
Unable to access shared team folder with Python API
I have in the past been able to access files in the dropbox account with python. We recently upgraded to a business account with teams and shared folders. I can now only access the non-shared folders, it's my understanding that I now need to create a dbx class "as a user" to access the shared folders. This is my code: dbx…