-
Create Property Template in Java API2
Hi, I want to add some custom properties to a file that I upload in app folder permission, and I see a wiki here. I want to ask if this feature supported now? Or is there any other way to do it? Thanks https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Create-Property-Template-in-API2-Java/m-p/201822
-
500 error with revoke_shared_link API
When I called 'https://api.dropboxapi.com/2/sharing/revoke_shared_link', it sometimes returns 500 error. For some shared links, it returns 200. In which cases, it returns 500 error?
-
search_v2 API does not find some files
I'm not able to find some of the files that definitely exist in the dropbox folder. The API call comes back empty but I can download the file using the full path. Below is an example of such file, and the result of the query. I've tried different search strings and none of them worked for this specific file. The API does…
-
dbx.auth not working / getAccessTokenFromCode giving 400 response?
I'm trying to access the `getAccessTokenFromCode` method and I keep receiving a 400 error. On top of that, I can't seem to write the code and get it to work in the way it's written in the Auth example from the JavaScript SDK. `dbx.auth` does not work for me whether I construct an instance of Dropbox or DropboxAuth. When i…
-
Is there a PKCE Example for a "A client-side web application (pure Javascript)"?
Hi there, As said here (sorry for google webcache, the original page is a 404) in the bottom table If your app is A client-side web application (pure Javascript) It should Use the OAuth code flow with short-lived access tokens with PKCE (no refresh tokens). So far I have failed to implement this. (I'm using…
-
API-Docs partially unavailable?
Hi guys, I'm trying to access https://www.dropbox.com/lp/developers/reference/oauth-guide linked here (https://dropbox.tech/developers/pkce--what-and-why-) But that link keeps redirecting me to https://developers.dropbox.com/de-de/oauth-guide Which after a few redirects results in a 404 Have these references been moved or…
-
Short lived access token on new account - serverless function
I have a serverless function that accesses a Dropbox app folder using the access token generated in the app console to downloads files. It is triggered through a push notification from Dropbox. This happens in the background with no user interaction. I have been developing using my own Dropbox account and have had no…
-
Get thumbnail with TypeScript
Hello, I'm trying to get the thumbnail of an image with the js sdk implemented in a TypeScript application. I'm using th method fileGetThumbnail() it return a Promise<DropboxTypes.files.FileMetaData> so once the promise is resolve I have an object of the type FileMetaData. This is fine but the FileMetaData object does not…
-
Connection timeouts
Hi, Since 2021-03-10 11:57 we have been getting timeouts with 499 status code when trying to connect to the Dropbox cURL error 7: Failed to connect to api.dropboxapi.com port 443:... Can my IP be blocked by DropBox or what is the issue?
-
parallel upload failing - "lookup_failed/incorrect_offset"
we need to upload large files (several GiB) to dropbox using the API. i've written a script that uses cURL to do this in parallel. i upload the first segment of 150M in order to obtain the session ID, then upload a number of additional segments in parallel, then close the session once the parallel threads have all…
-
How to upload file in specific team space folder?
Hi I am using Post Request https://content.dropboxapi.com/2/files/upload endpoint to upload file in Dropbox Authorization => access token of dropbox app Content-Type => application/octet-stream Dropbox-API-Arg => {"path":"folderpath/filename.png","mode":{".tag":"add"}} Here is reference I found API…
-
Does sharing_create_shared_link_with_settings create new link every time?
I am using python SDK and looking at 2 different methods: 1. sharing_create_shared_link 2. sharing_create_shared_link_with_setting So from documentation I see that first method returns previously created shared link if it already exists, and creates it if it is not. Does the second method work the same, or it create a new…
-
How to get the time from folder in Dropbox?
Hello Dropboxers, I am using files_list_folder() and files_list_folder_continue() to get a list of files and folders of a given directory. This works and the time of a file is in server_modified in FileMetadata. But I want to know the time of a folder and I cannot find any information in FolderMetadata. How to get this…
-
Revoke short-lived access token without revoking the refresh token
I am using the HTTP API calls to access Dropbox. I'm trying to migrate from long-term access tokens to short-lived tokens. In order to do this, I need to test calling a refresh to get a new access token based on the refresh token. Unfortunately, the short-lived tokens take about four hours to expire, so it makes iterative…
-
Production Approval for a very small amount of users
Our team uses Dropbox to share files. We are a small company and we have recently developed an internal tool to help associate some additional data with our files on Dropbox. We're going through the testing with it and it's working as intended. But as I'm reading through the documentation on production approval for our…
-
Get deletion time for deleted files in a folder?
Is there any way to, in API v2, when listing the folder contents (using list_folder or its various versions), get the time of deletion for deleted items (files in particular, but folders might also be good)? From what I've seen so far, the only way to find a time of deletion of a file is to do a list_revisions call on the…
-
Dropbox, webhooks, continue, 20,000+ folders
So I have setup dropbox, have everything working well, have also setup webhooks to notify that a unknown change has happened. Here is my problem, the dropbox instance has 22,000+ folders inside it. There is absolutely no way I can efficiently process this volume of /folder/continues just for example if one file / folder…
-
How to get OAuth2 access token from OAuth1 token and secret with API v2
hi, While creating an OAuth2 access token from OAuth1, I am getting error saying Error in call to API function "auth/token/from_oauth1": Invalid value in HTTP header "Authorization": "Bearer lZRzKu_9W****BSRr9Ul*****1inv****XSNQmj"% Referred Documentation:…
-
Index was broken, SearchV2 lost answer
Hi, I'd like to understand Indexing for Folders. My service suddenly stopped answering SearchV2, which returned no match files. This folder had over 170,000 files. I recovered following steps, * Rename old folder * Create new folder as same name * Move included files from old to new, take care count of files. After 1.5…
-
Get the Webhook Request from the SDK
Hello Team, We have implemented webhook functionality as per your documentation of the Webhook and getting the Webhook request. But i want to implement Webhook Process from the SDK. is there any way to do that ?. Thanks & Regards Rajhans Kumar.
-
Javascript sdk
Hi. I am kind of stuck. I tried following the github example for the javascript sdk dropbox api but i am not able to access files in the app folder. Can I get an overview of the process and a short sample code to get me started. What i intend to do is to create a web page using html and javascript where i can access a file…
-
Retrieve Dropbox Business plan level via API
Hello. I am trying to determine the dropbox plan level of a dropbox tenant via the API (eg Advanced or Standard). Is this possible? Or perhaps infer the plan level by checking some feature set only available on the advanced plan?
-
Searching for all files with certain extension in Java API and some issues with search queries
Hello! I'm building a small function in which i want to get metadata from for example all of PDF's and DOC files. So I am using a SearchV2Builder withFileExtension option. But i don't know hot write a query for any string. I tried with regexes, wildcards characters and nothing works. ``` private final String extensions[] =…
-
Error: options: expected array, got string - but it is an array?
I'm having trouble with an API call. It claims I send a string, but it seems to me to be an array. This is the full error: Error in call to API function "https://content.dropboxapi.com/2/files/search_v2": options: expected array, got string This is what was sent to cURL: method:"POST"header:"Authorization: Bearer…
-
filesMoveBatchV2 instead of moving files from one folder to another it just deletes the files.
Hello, I am creating this app which upon request will move desired files from one folder to another. However, after request, files are being deleted instead of moved to another folder. To achieve this, I am using filesMoveBatchV2 call and it returns async_job_id. After checking async_job_id with filesMoveBatchCheckV2 call…
-
Search_v2 API Changes
Hi folks, I just wanted to give some feedback regarding the new search_v2 API, which came as a bit of surprise to me. Firstly it seems that the creation of this new API was not announced, at least not anywhere that I can find. I'm a registered Dropbox developer, but I don't seem to have received any notification. I did not…
-
Rename folder and file Directly from the Dropbox
Hello Team, We have implemented Webhook functionality when we are renaming files or folders getting the response to continue API, but We do not identify what files or folder has been changed. Any specific tag in the JSON response, while renaming folder and files. Thanks & Regards Vineet Dubey2
-
Python 3 files_download JPEG. Get UnicodeDecodeError
Using Python 3.8 I can successfully download a JPEG image. However, I want to access the exif information so am trying to use Pillow to open it. Whatever I try I get the following error: 'UnicodeDecodeError: 'utf-8' codec can't decode byte 0xff in position 0: invalid start byte'. I'd be grateful for any suggestions as I'm…
-
Export file: Size and content_hash mismatch?
Hi there, We use the Dropbox API to fetch and export Paper documents. Recently (like 2 days ago) we observed that the API is returning, what seems to us, inconsistent values. For example, we added a trivial paper document (which had one emoji) and ran the following: curl -i -X POST…