-
Distinguish between duplicating a file and renaming a file
How can i distinguish between rename and duplicate. Currently this is how i am trying to do: using (var dbx = new DropboxClient(RefreshToken, Appkey, Appsecret)) { try { var metadata = (await dbx.Files.GetMetadataAsync("/" + backupItem.Path)); if (metadata != null) { var remote = "/" + remoteUrl; var fromPath = "/" +…
-
Using refresh token without client secret
I am using the PKCE flow for my electron based desktop & web app app and am trying to migrate for the new short lived tokens everywhere flow. I am able to get a refresh token by providing token_access_type=offline Now I am wondering how I can request a new accessToken without exposing my APP_SECRET…
-
SwiftyDropbox SwiftUI iOS
Hey all, I've tried to add the SwiftyDropbox package into my SwiftUI iOS project and followed the GitHub readme: I updated the following files as recommended using my app key: - Info.plist - AppDelegate.swift I got stuck when implementing the Authentication Flow in my ContentView.swift: are there any simple example…
-
Renaming a file is creating a copy in dropbox .NET SDK
When i try to rename file i see in dropbox a copy being created rather than just a name change. This is how i am trying to achieve this: using (var dbx = new DropboxClient(RefreshToken,Appkey,Appsecret)) { var updated = await dbx.Files.UploadAsync( "/" + remoteUrl, mode:WriteMode.Overwrite.Instance, body: fileStream);…
-
token is gone after refresh
so i'm working on a website that uploads images to a folder and for the first day it works just fine nothing is wrong then the day after when i tried it again it says the access token is invalid so i regenerated it i tried again and it still says invalid so i regenerated it again and i refreshed the page and now the access…
-
Use of Existing API to Post files from a Linux Server to Shared Dropbox Folder
Hello, I'm brand new here and although I've done a little digging I have not yet found a method for me to post files originating directly on a Linux server to a shared folder though automation via an API. Ordinarily, I would have time to dig through the docs, but I'm up against a serious time crunch so I thought I'd ask…
-
Error 500 on /2/files/upload_session/append_v2
Hello! We are getting 500 errors when trying to upload files. [2022-03-14T11:15:18+03:00] ERROR '*****' upload have been ended with error, error1: 'Request url 'https://content.dropboxapi.com/2/files/upload_session/append_v2' method 'POST' failed, response code '500', error: ''' [2022-03-14T11:17:31+03:00] ERROR '*****'…
-
Embedding Dropbox on WP site
I want to embed dropbox on our community site. I see that there is now an embed component and in this article https://dropbox.tech/developers/now-available--dropbox-embedder there is an example of a WP site (University of Milan) that has done exactly what I would like. Does anyone have idiot-proof instructions about how to…
-
API Lookup Error
I have an app that is connected to my dropbox account with a webhook and sends an alert each time something is changed in certain folders. For some reason, I am getting the following error when I make changes to files in the account dropbox.exceptions.ApiError: ApiError('8fe4838db3874737b55c0d7e3935585e',…
-
Upload sqlite db file to my application folder only using android app not working
I have simple image based notes taking like app and i am storing all data and image in SQLite database. Now i need to implement sync functionality with drop box using java sdk, already downloaded project. But the file is not getting upload and can not read from it, getting error Error:…
-
Application connected to DropBox lost connexion
Hello all, I have a problem with an application (ISaveMoney) connected in my Dropbox account with Android smartphone. I can connect into DropBox through this application. I can see DropBox datas and create datas in DropBox through this application. This application is into "allow application" in my Dropbox account. But…
-
Shared File Link Issues
Hi, I'm writing to find out if anyone knows of any changes to the Drop Box service around 2/9, 2/10 that may have changed how file information is shared when using the Shared Link. For context, we have customers using our API that use Drop Box to share files with our print service but as of Wednesday this past week the…
-
Incorrect duration of some streamed audio files.
Hello, I have a problem with some audio files. To be able to read them correctly on an audio player (in my case on android) you have to be able to determine the duration. for some files the duration returned is not correct. With android mediaplayer 0 ms. I did the tests through a temporary link or a sharing link. When I…
-
Dropbox stopped returning Content length in the response headers.
Dropbox stopped returning Content length in the response headers. Any reason as to why? When I call this from C# code, I don't get the response.ContentLength(); https://www.dropbox.com/s/a3lhvatmf7f6ys3/appv1.ipa?dl=1
-
Functionality changes
Hi! I play some audio files from dropbox all was great but yesterday something went wrong. I use get_temporary_link to get link of the file. When I play .ogg file via temporary link in my player (on android) and seek to some position player starts to play from beginning. I suppose that there was some changes on Dropbox,…
-
How can I solve this error: Property 'refresh_token' does not exist on type 'object'?
Hello, I am trying to make a replica in Typescript of the Dropbox webhook (that converts md files to html) that was built in Python. I copy-pasted the authentication flow from this example and I had to change a few things along the way till I reached this error that I couldn't solve. Here is a screenshot: The documentation…
-
CORS requests involving OPTIONS preflight failing from Firefox and Safari
We recently got an issue report that Dropbox had stopped workin in our app (https://igv.org/app) from Firefox and Safari. The app is a genomics visualizer, we support loading genomics data from Dropbox. The files are huge and most requests include a "range" header. This triggers an OPTIONs request which is failing with a…
-
Getting error with .net/C# on login
Hi there, I'm using the Dropbox .net SDK version 6.24.0 for my winforms application. I use this method to get the URL for login DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, "client ID", "redirect URI").ToString(); After entering the username, password and clicking Login, I get this message on top of the…
-
GroupSelector
Hi there, I have a fundamental misunderstanding of how to use 'GroupSelector'. Code: dbt = dropbox.DropboxTeam(TOKEN) members = dbt.team_groups_members_list(g.group_id) Error: ValidationError: expected type dropbox.team.GroupSelector or subtype, got string Ok fine, I need a GroupSelector type - but how do I actually…
-
Permananet Access Token
Why I'm using dropbox: So I wanted to make a windows maintenance bot that I could sell to my friends, but I didn't want to have to copy the files for each person. So I thought I would make an improvised install and update executable. My plan was to upload the bot files to a private dropbox account that the bot would have…
-
upload images files to dropbox account using andrea fabrizi script
I can't upload images files from my aspberry pi to my dropbox account using the andrea fabrizi script. Some mouths before, i had no problem to do it, why? Error message: it is recommended to run .dropbox_uploader.sh unlink. Why? I get the same message, when i run: ./dropbox_uploader.sh list.
-
Get last login information
We have been trying to get the last login information for all of our students by using the get_events endpoint and are not having success retrieving the information on the post back. Is there a specific value we need to send in the request body in order to retrieve this information? Our goal is to target specific users for…
-
Unable to connect Power BI Desktop with Dropbox
Hi, I have an excel spreadsheet in Dropbox that I would like to load in the Power BI Desktop. I am unable to connect Power BI Desktop with Dropbox. This is what I did- I created an app in Dropbox and then generated an app token that has access to all the folders in Dropbox. Then I used the Web Connector in the Power BI…
-
List files in app folder of user
Hi, Please help as I am sort of stuck... I am developing a dropbox app to load files in to our system that have been dropped into an application folder by some user. So when configuring this the user, through our frontend, connects to dropbox and accepts the app, I then store the account id and i do a call to list and…
-
How to implement DropboxOAuth2Flow in node.js?
In the Dropbox markdown webhook example, they used the DropboxOAuth2Flow from the Python SDK to link a Dropbox account to the Webhook app. I want to implement the same thing in Node.js and I couldn't find any thing similar in their JavaScript SDK documentation. Thanks.
-
Acces thumbnail images for PDFs
I'm using Dropbox to store PDF files, and my external application needs to programmatically access a thumbnail image of the first page for each of these PDF files. These thumbnail images need to be inserted into emails, so I think the Embedder functionality will not be suitable for this use case? Is there a way to directly…
-
DeletedMetadata for file/folder
Hi, I am trying to get the the id's of deleted files but I dont see file Id present in DeletedMetadata. Is their any way to get the deleted file Id so that I can delete the file from my local cache too?
-
Dropbox Polling Issue - caught in loop
Hi All, I am currently experiencing a peculiar issue. I am retrieving and tracking the state of folders using files_list_folder, files_list_folder_continue and files_list_folder_longpoll. The process is as follows: 1) If a cursor does not exist - call files_list_folder to get the state of the folder 2) Loop over the…
-
How long does it take to update file preview image (thumbnail) If document content is changed or new
Hello! Could you please help me? How long does it take to update file preview image (thumbnail) If document content is changed or new version of file was uploaded?
-
Node/JS SDK - /get_temporary_link
Hello, getting started w/ Dropbox and have a couple of questions re /get_temporary_link. (1) I saw that the Java SDK has a direct method for `.get_temporary_link()`, see here , but I cannot find the equivalent in the Node/JS SDK... is it missing ? (2) is it possible to reduce the lifetime of a temp link (via SDK, HTTP API…