-
Creating Files
Hey everyone. I'd like to use Dropbox's "Create File" feature in my API, but I didn't see the option in the SDK. Anyone able to locate it? Thank you in advance!
-
Cancelling a file upload or download using Java 2 API
I have implemented a file upload and download capability in my Android app using the example approaches posted on GitHub. However, I need a way to interrupt the process to support the notion of 'cancel' by the user. There doesn't seem to be a way to do this? Once I get this far: FileMetadata metadata =…
-
Requesting an API call to find revision by date
I'm looking at the API documentation for /revisions, and it seems like it's missing a really obvious use case: finding the single revision closest to the specified date (or, the two revisions closest to the specified date on either side—that is, the latest revision before the specified date and the earliest revision after…
-
Slow upload speeds via Dropbox API via GoodSync
I'm currently syncing a folder to online-only access via GoodSync using the Dropbox API that they have implemented. I was forced to do this because using the Dropbox desktop client my files were uploadinging without consistent accurracy. Files were being placed in incorrect folders and I could not monitor the progress or…
-
How to remove shared link?
Hello! I have a follow struct of folders in my app: -Main --1 --2 --3 I use next query to get a personal shared link to each of folder in the Main (1, 2, 3) QUrl url; url.setScheme("https"); url.setHost("api.dropboxapi.com"); url.setPath("/2/sharing/create_shared_link_with_settings"); What query should I use to remove…
-
API for creating file and writing data into created file
Hello All, which API should i use to create text file and write data into created file? for eg. file name:- sample.txt file content:- "--------------------------------------------------------------------------------------------------" "No of Lines Present in the file" "48"…
-
Invalid access token
I generated an access token while creating my project on dropbox app console, and used that token to let my user's to fetch data from my drobox using my android app, everything worked fine for months but today i was getting an exception that my access token is not valid, then i generated a new access token from app console…
-
List content of Team forlders Within Python SDK
Hi, I'm trying to list all the files contained in a dropbox business team folder. I'm using the official Python SDK. I tried to use the dropbox.DropboxTeam class. Here is my code : dbx = dropbox.DropboxTeam("<TOKEN>"); I can list all the namespaces availables with : for entry in dbx.team_namespaces_list().namespaces:…
-
Dropbox file chooser inside Outlook Add-in
I have been trying to you use Dropbox Chooser to get the file destination from Outlook Add-in. It works fine on Desktop, but when I run the application through Outlook Mobile (on android) app, it launches the android browser. My question is how do I go back to my app (or ideally load the chooser inside the Outlook Add-in…
-
Direct link for file download
Hello All, I am new here and new to Dropbox integration. In my application we use chooser to select the files from end-user's dropbox account. When the user selects a file, the response contains a download url which is something like this…
-
Request body could not decode input as JSON
Hello! The follow code (qt c++) QUrl url; url.setScheme("https"); url.setHost("api.dropboxapi.com"); url.setPath("/2/file_requests/list_v2"); QUrlQuery params; params.addQueryItem("limit", "1000"); QByteArray qb_params; qb_params.append(params.toString(QUrl::FullyEncoded)); if(checkUrl(url)){ QNetworkRequest request; //…
-
Files Delete batch
dbx.filesListFolder({path: '/app', recursive: true}) .then(response => { let path = response.entries.map(entry => { return {path: entry.path_lower}; }) dbx.filesDeleteBatch({entries: path}) .then(response => { console.log(response); }) }) Hi there, I am trying to delete several files/folders at once, however, when I use…
-
Dropbox Asynchronous API Calls Throwing "ArgumentOutOfRangeException"
I am building a Unity game that needs to utilize file storage of some sort. Because of its examples, documentation, and support, I decided to go with Dropbox API 2.0. I am using the code from Dropbox API-2.0 Examples-SimpleTest to implement an asynchronous file uploader. The file simply uploads a pseudo-randomly named…
-
Remove Shared Folder Invitee
I've been working on Sharing of folders using the API, but can not see how you remove a member who has not added it to their dropbox This is the message in the UI "name@domain.com has not added this to their Dropbox yet" When I try and remove using the RemoveMember I get this error : member_error/no_explicit_access/...…
-
error syncronizing files uploaded by UploadAsync
Hi, I'm using the Dropbox Api to upload some excel files in a specific folder. The upload is successful and from the web I correctly see all the files in the destination account. However, these files are not synchronized in any way by the windows client. I tried both with the app configured in Full access mode and in…
-
Possible bug corrupting file names with certain unicode code points
An rclone user has discovered that sometimes file names appear to get corrupted. See this rclone issue for full details. I managed to reproduce this and capture an HTTP transaction. First here is uploading a 0 length file named "Русский.txt" 2019/10/10 12:40:16 DEBUG : HTTP REQUEST (req 0xc000463900) 2019/10/10 12:40:16…
-
The /upload behavior has been changed ?
Recently, we received many feedbacks from our product users that the filename (use /upload) has become garbled. We found the "path" decode behavior might be changed by dropbox server. For Example: (the current behavior) curl -X POST https://content.dropboxapi.com/2/files/upload \ --header "Authorization: Bearer…
-
File upload error code 500
I am trying to upload a PDF in my javascript file but i get server response error code 500. I also need to find what i have to put in the body to upload the pdf file (using netsuite so i cant use the dropbox-sdk). I am now encoding my pdf from Base64 (that is what it is on my server) and outputEncoding is UTF-8 does this…
-
Using binary utf_8 to upload files give code 500
I am trying to upload a binary utf_8 file with content-type: 'application/octet-stream' I am getting code 500 as response { type: "http.ClientResponse", code: 500, headers: { "Transfer-Encoding": "chunked", "X-Dropbox-Request-Id": "640a364369e1655286244898d330da00", "X-Robots-Tag": "noindex, nofollow, noimageindex",…
-
Ignoring deleted files in the Winforms API
I am using the following code to successfully retrieve all files in a nominated folder: var lfrLlist = DBClient.Files.ListFolderAsync(DBoxFolder); foreach (var item in lfrLlist.Result.Entries.Where(i => i.IsFile)) { dostuff } However I notice that I am getting all files returned, including deleted files. There is a…
-
Switching Dropbox
Hi, I am using API2 with my app to allow users to transfer files to/from dropbox. However, if a user of the app changes dropbox accounts, and they no longer have access to the first dropbox account (So they can't unlink a device) how can they now use the new dropbox account within my app since it is still linked to another…
-
How to solve conflict folder error with Dropbox API
I am using Dropbox API explorer to test the upload of a file before usign the code. I am getting an error when in my opinion all the params are right. request: curl -X POST https://content.dropboxapi.com/2/files/upload \ --header 'Authorization: Bearer aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' \ --header…
-
Invalid Access Token
var name = teamNum + "/" + matchNum + ".json"; var xhr = new XMLHttpRequest(); var filename = name; var file = new File([JSON.stringify(dataset)], filename, { type: "text/json;charset=utf-8" }); xhr.open('POST', 'https://content.dropboxapi.com/2/files/upload'); xhr.setRequestHeader('Authorization', 'Bearer ' +…
-
chunk upload error if only one chunk c#
Hi, I'm using the chunk upload and it works fine. I want to use it for all the files not just for the big ones because it is easy to trace my upload. I'm facing un error when the file is smaller than the chunk: InnerException = {"Cannot access a closed Stream."} Message = "Error while copying content to a stream." my code…
-
How can I list content of sharded folder that has not mounted yet?
How can I list content of sharded folder that has not been mounted yet?
-
Cannot access dropbox account using access Token generated by a different account
I have given an appkey to access a dropbox app, I create an authorize url using this - Uri authorizeUri = DropboxOAuth2Helper.GetAuthorizeUri(OAuthResponseType.Token, AppKey, RedirectUri, state: oauth2State); Then once the authorize Uri generated, I used this to generate access Token by browsing the url and providing my…
-
Detect if a file is an image
I am integrating the dropbox API in my application extension which is a filemanager. I need to check if the file saved on the dropbox server is an image or not. Reason why i need is that i cache the whole directory tree on my local system and then user can navigate through the tree easily without sending API calls at every…
-
DropBox Chooser - Possible to preview files and disable upload button?
Hello there, I was wondering if it was possible to disable the Upload functionality on the DropBox Chooser component and whether it's possible to preview files such as images? If not, is there an endpoint in the API that will let me retrieve a list of image preview links in order to create a previewer myself? Thanks,
-
Integrating users' Dropbox files within my SaaS
Hi all Long time Dropbox user, but new to Dropbox integration and the possibilities therein. My company is creating a SaaS platform for catalog and product management. I would like users to be able to share their (selected) Dropbox content with us (in particular images in a specific folder) to enable us to complete various…
-
TypeError: e.clone is not a function
Hi All! I'm working on a VueJS App with Axios library. I just want to authorize my WebApp to access to my DropBox account with OAuth2 but I'm stuck at the beginning because it returns me: TypeError: e.clone is not a function Here is my Vue App code to generate the access token: beforeCreate() { delete…