-
Python SDK: refresh_access_token() and check_and_refresh_access_token() need app_key and app_secret
I only found after experimenting around and re-reading the OAuth guide (https://developers.dropbox.com/de-de/oauth-guide) that the Python SDK functions mentioned in the title need the app_key and app_secret to check and refresh access_tokens. dbx = dropbox.Dropbox( oauth2_access_token=MYTOKEN,…
-
Questions about creating DbxClientV2 using DbxCredential
Hi, I am looking to start using Short-Lived tokens (using PKCE and refresh tokens), and have been looking at the Android example code from: https://github.com/dropbox/dropbox-sdk-java/tree/3162efeccaca247e25553acd21f6ac0bf9018ad6/examples/android/src/main/java/com/dropbox/core/examples/android I have a couple of questions…
-
Expires date format - help
Hi there, Could you give an example of a date, in particular for the expires field for the Create Shared Link With Settings endpoint? I'm struggling to get it to work, keep keeping bad requests. From the docs: %Y-%m-%dT%H:%M:%SZ My implementation in PHP: date('Y-m-dTH:i:sZ', time() + $a_number_of_seconds) (which…
-
API - zip fies by file IDs
Hi there, Is it possible to download a zip by supplying the file IDs to be zipped, rather than by directory? (i.e. I want to zip a bunch of files, that may be in different folders, by passing a list of the file IDs). Thanks
-
Authorization in UWP app
Our company, being an UWP app developer, has faced the following problem. After changing the authorization policy, the Dropbox no longer supports the OAuth app authorization flow in web views, we need to update our app to process the OAuth app authorization flow in the user's system browser. We are currently using a Web…
-
Java SDK issues with short lived token
Hi there, I need some help to migrate to the short lived token. Normally I check if I have the token, then call or execute the other doprobx APIs (e.g. file upload): Auth.startOAuth2Authentication(getActivity(), db_k); While now I call: Auth.startOAuth2PKCE(context, db_k, DbxRequestConfig.newBuilder("app")…
-
API doesn't allow shared links from not owner
I have a python script to pull and process team data where the I (a.k.a. developer) processes data using a shared link pasted in by a team member. The goal is to process data supplied by team on a server. Fun fact. I can only process data using a public shared link that I created. What permissions/settings are required so…
-
Multiple short lived access tokens in same app
Hi. Appreciate this may be a silly question, but here goes. Given that a refresh token can be used to generate short lived access tokens, is it possible to use more than one of these short lived tokens at the same time in the same app for the same user. So for example could you be using one short lived access token for a…
-
Migrating to refresh token on Android - Sample not working
Hi. I am in the process of migrating from long lived tokens, to refresh tokens for offline access. I haven't made any changes in the App Console yet, I'm just trying to get a proof of concept, by linking using scoped PKCE offline access. I noticed the Android samples had been updated for PKCE and offline access (this is…
-
Dropbox Auth Page - Email & Password fields disappear, so users can't login
Hi there, I have a "Dropbox Save & Restore" feature in my app, Fudget (www.fudget.com). When the user enables this feature, I popup the Dropbox Auth Page. And when the user starts typing an email address, the Email & Password fields disappear, so the user cannot login. The fields seem to disappear as soon as you've typed…
-
short-lived access tokens for sharing data
Hi, how to programmatically generate a temporary link to share my data in my dropbox with other users in short-lived access token scheme? I currently use a long-lived access token generated on my app's webpage, and my script uses the fixed token to generate a link. Based on what I read on documentation, the short-lived…
-
Embedder error on iPhone browsers
I am using the dropbox embedder on my website. It works as expected except on iPhone devices. I have tried it on two different iPhones using the Safari, Chrome, and Firefox apps and they all have the same result: When the page loads, there is a message shown asking the user to allow cookies. Tapping the Allow Cookies…
-
ios app to access dropbox folders
Hi, My IOS developer who is relatively new to programming, is adding the feature to download CSV files from user's dropbox shared folders into our IOS mobile APP. Previously we were using the "cloudrail" APIs to accomplish this and it worked. But now the "cloudrail" is no more being developed and hence we are trying to…
-
Uploading multiple files with UploadSession with TypeScript
Hi, I'm facing an issue with the UploadSessionFinishBatch method with TypeScript. I'm having this error : Error in call to API function \"files/upload_session/finish_batch\": request body: entries: unknown field 'contents It seems like the "contents" parameter is not supposed to be here and makes the call crash. But in…
-
No Refresh token is returned
Hey, I'm trying to figure out how the refresh token oauth2 process is working. When I navigate to https://www.dropbox.com/oauth2/authorize?client_id=<client_id>&token_access_type=offline&response_type=code and grant premission I only get an oauth2 code but no refresh token. What am I doing wrong? Do I have to enable…
-
OAuth Code Flow for legacy apps
Since dropbox apps are transitioning to Scopes and short-lived tokens after September. I was wondering If I can use the OAuth code flow to grant permissions for legacy apps till September without transitioning to Scopes/short-lived tokens?
-
Error 429 too_many_requests when uploading multiple files
Hello all, I am used Dropzone to drag and drop upload images and used Javascript Dropbox SDK ( dbx.filesUpload ) to multiple times to upload multiple files. But I get "{" error_summary ":" too_many_requests / "," error ": {" reason ": {" .tag ":" too_many_requests "}," retry_after ": 15}}". I have seen and tried many ways…
-
Accessing legacy Paper docs with the API
I'm having a lot of trouble working with legacy Paper docs with the API (using Python SDK). Some specific questions: * How do I get metadata for a Paper doc? I tried getting list of `doc_ids` from `paper_docs_list`, but then a subsequent call to `files_get_metadata` fails with path not found (I'm setting `path` to…
-
Get folder links
Hello, I've been tasked with creating shared folders for our team. Each team member will get their own folder that will contain files specific to them. I need a way to collect or create the shared links by automation rather than by copying and pasting as there are currently over 100 team members but this is likely to grow.…
-
Dropbox integration fails with console message: client.getAuthenticationUrl is not a function
My web application has been failing for an unknown amount of time and was only noticed recently. Current behavior is that it is supposed to open a new window and run the following code snippet in that window to connect to dropbox: var baseaddress = $("#baseaddress").val();client = new Dropbox.Dropbox({ clientId:…
-
Unable to retrieve preview for CSV file
Hey All. I'm attempting to fetch an HTML preview for a CSV file using the `/get_preview` endpoint. Unfortunately I'm receiving back an `unsupported_extension` error. Maybe my understanding is wrong? Appreciate any suggestions. Reviewed the following documentation: Dropbox `get_preview` Documentation Curl request using…
-
How can I add more test uses to my app?
I am preparing dropbox extension app review. It is a document viewer which supports a certain document format. Before submitting this app, I would like to add more accounts for testing. I set enabled to other users and unchecked "Visibility"-Only me. In addition, I also implemented Oauth2, but my app isn't shown to other…
-
How long should I wait for /upload_session/finish_batch/check to complete?
In order to complete a batch it is necessary to call upload_session/finish_batch/check . The docs for this don't give any guidance on * How long to try calling this API for * How often to call it In the batch upload I'm developing for rclone I've arbitrarily chosen 2 minutes and 1 second so rclone checks for completion for…
-
'too_many_write_operations' on 'sharingAddFolderMember'
Hi, i wrote an async automation that grant permissions to specific DB groups according to folders paths for an existing folders structure. This structure gets built using a different automation but both are individual from each other. on my logic i'm using multiple DB functions (by order: filesGetMetadata…
-
Temporary links not working properly for some users, bandwidth limit?
Hey all. Just a small background, the app I'm working on allows people to play media files in a slideshow from a Dropbox folder. We simply generate a temporary link to the files every 3.6 hours while the slideshow is active. This method has worked great for us for the past few years. Now to the issue, some users have…
-
filesSaveUrl failing with invalid_url error on valid, public URLs.
We have an oauth integration with Dropbox that generally has been working fine - recently we've started getting the following error on uploads from the node SDK (filesSaveUrlCheckJobStatus call): { '.tag': 'failed', failed: { '.tag': 'invalid_url' } } We haven't changed anything on our end around the implementation, and…
-
Dropbox API's Files.ListFolderAsync return path not found
hi everyone, We have dropbox's enterprise account and a team admin to grant consent permission to DropBox's Enterprise application. In this dropbox's enterprise, we have a team folder "Design Document" created by different account which assigns to a group "Design". However, the authorized team admin user above isn't in the…
-
SDK C# Read zip without downloading
Hi, I'm try to read the content of a zip in dropbox without downloading using c#. But I'can't do it. Is It possible?, I read a xml file and images without downloading, but with a zip I don't know how to read the content. Any one can share the code in c# or explain me in ditails how to do it? Thanks!!
-
Incorrect layout of authentication dialog on iPad
The authentication dialog displayed by the code of Objective-C SDK below is incorrect in layout as shown in the attached photo on iOS iPad. (Note that the layout is correct on iPhone.) Please tell me how to fix this. [DBClientsManager authorizeFromController:[UIApplication sharedApplication] controller:[[self class]…
-
Dropbox Api V2 Callback: Which import call is used
Hallo, I want to use DBClientV2 callback. Which one do I need to import? Android Studios shows many callbacks, but none of them seems to be the right one for me. import com.dropbox.core.DbxException; import com.dropbox.core.v2.DbxClientV2; import com.dropbox.core.v2.files.FileMetadata; private final Callback mCallback;…