-
How to update shared folder link access from edit to view
I've successfully created a backend service to update shared folder member access to view only; however, the the shared folder link is still set to Edit access. I thought using the https://api.dropboxapi.com/2/sharing/modify_shared_link_settings endpoint would do the trick passing in the following parameters: {"url":…
-
I created a new App, scoped folder, getting cursor is not workig
I just created an app, to be used to listen for changes or new files in there. This one automatically created a new folder called `test-implementation`, (name of my app as well), I am adding files in there, I see the webhook getting in, but I am not in a position to save cursors, so I am using…
-
Path Not Found Error
New user here just working through the tutorial https://www.dropbox.com/developers/documentation/dotnet#tutorial When I generate a token using an app for Full Dropbox, it works OK. However, if I generate a token using an app for an App Folder only, I get an error that the path could not be found when calling download. Here…
-
Does the Acces token expire?
I am using Google Apps script to create a PDF file. This is stored in my Google Drive. Yesterday I added to the script that I need a copy of new PDF files send to dropbox. Below is the script I am using. Yesterday everything worked well, a copy was sent to the dropbox. Today when I run the script, it get this error:…
-
Issue with API returning no data when file name has some special character
I have a code written in php, where i am trying to fetch the file data with a apostrophe, when i am trying to do this it returns no result. Tried rawurlencode as well, but didnt work. Kindly help. Code: $file_path = "/posts/00 - jeff fader - together - (gents & dandy's - gents190).txt"; $file_content =…
-
Is there any automation to concatenate 2 xlsx files into one?
I am using the dropbox api to upload some files, first I retrieve the xlsx file then I concatenate the new information at the end and then I upload the file, but I am afraid that the heavier the file becomes the longer it will take to download and upload the file for this reason I want to ask if, is there any way I can…
-
How to migrate to new Auth workflow with python SDK while minimizing need for single user input?
Hello Dropbox team, I have set up a small app as a python script which runs continuously on my server, and which needs to read some files that I store on my Dropbox storage space, in the folder dedicated to this app. This script needs to read those files at regular interval (currently every 15 minutes). When I set up this…
-
Do Refresh token expire
Does the refresh token expires when it is not used for long time?
-
Getting shared Link: Problem with permissions.
Hello everyone! I have developed an API for uploading files and generating links for downloading them. However, I am encountering an issue when trying to obtain a shared link. The problem is that when I send a request to the '/get_shared_link_file' endpoint, I receive the following error: Error: ".tag": "missing_scope",…
-
Dropbox raw PDF link overriding toolbar=0 & navpanes=0. Is it possible to remove the sidebar?
Hello, I've embedded a raw PDF from dropbox using this code: <embed src="dropboxpdflinkhere?raw=1" type="application/pdf" width="100%" height="100%" /> All fine and good. But usually I can add toolbar=0 and navpanes=0 on the end to control how the pdf is shown. These commands no longer work using a dropbox hosted PDF. Is…
-
ListFolderAsync Does Not Return Newly Added Folders
All I want to do is get a list of subfolders within the Root folder. However, if I or another member adds a new folder, it does not show up. Here's the code I'm using. async Task ListRootFolder(DropboxClient dbx) { var list = await dbx.Files.ListFolderAsync(string.Empty); folders.Clear(); foreach (var item in…
-
OAuth permissions issues in SwiftyDropbox under Ventura?
Have there been any changes in recent versions of SwiftyDropbox to accommodate any new security restrictions on Ventura? I developed a macOS app with a FileProvider Finder extension, which initialises smoothly under Monterey and earlier versions; however, some people installing it on Ventura are reporting a whole string of…
-
Authentication to dropbox
1. I am developing an application, which will have about 4-6 users with different email addresses. 2. Then I have created a dropbox app and scope is the application folder (from this account) 3. So I did the part where you get the code, from there it is redirected to here…
-
Issues with server side process authentication
I have a server side process that generates documents and then needs to send them to a folder in Dropbox. There is an app created to with access to the folder. I was able to generate a token for the app and initial testing went well. Based on the documentation the token should last forever, but it appears to be a token…
-
how do I setup Saver for use on my website.
Hi, I am trying to add the dropbox Saver (https://www.dropbox.com/developers/saver) to my webpage, to enable people to upload pictures to my dropbox. I've got problems setting up the Oauth, redirect URI and what not. After creating the App and setting up as good as I can, nothing happens, after I include the script to my…
-
Printing a file from my node app
Hi, In my application I want to print a file from dropbox using my node application. Based on some parameters i want to add a watermark to the file i get from dropbox and then print it. So is there a way to get this file as a inputstream or something where i can add the watermark. or is there any feature that supports…
-
Is there Print or zoom functionality for the embedded viewer?
Ive embedded the dropbox viewer on https://www.arclab.space/f/dropbox-pdf-test I'm wondering if its at all possible to add print or zoom buttons to the embedded viewer? Thanks!
-
How can I retrieve a list of all the members who have been granted access to a file in team folder
A member of a team has created a folder in the team folder, inside the folder there is a file. This file is shared with multiple users, excluding the admin. With admin privilege, I am able to retrieve the list of members of the file using the Dropbox API endpoint "https://api.dropboxapi.com/2/sharing/list_file_members".…
-
i want to check is file exists with async/await
I tried this but it doesn't work: async function CheckIfFileExist(dbx, fileName) { let fentries = []; dbx.filesListFolder({ path: "" }) .then(async function (response) { fentries = await response.result.entries; if (fentries > 1) { for (let i = 0; i < fentries.length; i++) { if (fentries[i].name == fileName) { return true…
-
Listing every team folder and date last modified
I am trying to list every dropbox team folder and a date against it that specifies the last time a file within was modified. I have been successful in listing folders with the below script however, the problem is that the folders being listed are only what the "as_admin" account has access to. Is there a way using the…
-
How can I list all share links(edit, and view) of a user inside the personal folder and team folder?
As a team member, I am able to list all shared link (folder: viewer link only / file : viewer link) of personal folder along with team folder links (folder : viewer & editor links / file: viewer link). I am aware that a folder can have 2 links (editor & viewer). when I provide team root path 'Dropbox-API-Path-Root', I…
-
API change break rclone?
My self and others on the forum post below have been effected by the breaking of the dropbox support in rclone when no change happened on the rclone side suggesting an API change on the dropbox side. https://forum.rclone.org/t/failed-to-open-source-not-an-encrypted-file-bad-magic-string/37790/7 I was wondering if anyone…
-
Downloading part of a file via /get_temporary_link with Range header returns incorrect content-type
When downloading a specific part of a file using the link received via a /get_temporary_link call and the HTTP header Range: bytes=..., the content-type application/grpc is sent instead of the actual content-type of the file. Request Headers: GET…
-
API probably change and Problem with rclone part file
My self and others on the forum post below have been effected by the breaking of the dropbox support in rclone when no change happened on the rclone side suggesting an API change on the dropbox side. https://forum.rclone.org/t/failed-to-open-source-not-an-encrypted-file-bad-magic-string/37790/7 I was wondering if anyone…
-
Issue with HTTP API fetching files with special characters
I am having an issue with Dropbox http API call. My file names have apostrophe and when i try and encode it and fetch it doesnt work. Let me know the way around for it. Thank you.
-
The usage returned by get_space_usage is not updated
Below is the response of get_space usage. The used field (eg. 70850370743139) used to update whenever a file is uploaded, but it stopped updating even the file is uploaded, is there a problem in dropbox server now?{ "used": 70850370743139, "allocation": { ".tag": "team", "used": 70850370743139,…
-
DropboxResponseError: Response failed with a 401 code
hello, I get an error 401 trying to connect to my dropbox, this is my code: let dbx = new Dropbox.Dropbox({ accessToken: "REDACTED", clientId: "REDACTED", clientSecret: "REDACTED" }); dbx.filesListFolder({ path: "" }) .then(function (response) { if (response.result.entries > 1) { return true } else { return false } })…
-
not able to either create or list a share link after a copy of a file
Hello, Overall objective: Once I copy a file from a user's folder to our Production folder, I try to create a shared link for it and it fails; or I try to list the shared link and it fails. By fail, I referring to not returning the expected URL. This has me going bananas. Either creating a shared link or listing it returns…
-
How to download file with windev?
i tested this code but it not work sToken est une chaîne UNICODE = "my token" sUrl est une chaîne UNICODE = "https://api-content.dropbox.com:443/2/files/download" sAgent est une chaîne UNICODE = "API-explorer-client" sType est une chaîne UNICODE = "application/json" smylink = "my link in dropbox space" sAutho est une…
-
Better understanding of offset with appendV2 and finish
Attempting to upload large files. The regular upload method works without an issue. When I try to use appendV2 and Finish I get that the offset was incorrect and the correct offset. This post does discuss how to do offsets but want to make it clearer. From the docs. "Offset in bytes at which data should be appended. We use…