-
Developer vs Production only for some users
Hi all, I would switch from Developement to Production my own API, but I need to use thi API only from some users and not worlwide users. It's possible? Thank-you!
-
.NET Downloading large file GetContentAsStreamAsync
I want to use the Dropbox. Api for .NET to allow my users to download files I have stores in Dropbox from my site. The size of the files ranges from small (a few Mb) to Big (a couple of Hundred Mb) This is the code I have: public async void DownloadWithTracking(string argFilePath) { var aFileName =…
-
Setting client_modified on upload not working
Because of some additional logic we are performing client side, we need to set the client_modified time on an upload. Here is my argument I'm passing on 2/files/upload: 0x08c349f0 "Dropbox-API-Arg: {"path":"/Highlights/My Highlights.hlt","client_modified":"2017-3-29T20:34:36Z","mode":{".tag":"overwrite"}}" Note the 36Z.…
-
Oauth2.0 login with android webview.
In my app, I use Oauth 2.0 flow with webview in andorid. according to google announcing, Google webview log-in is prohibited from April 20. I want to use Dropbox log-in on browser without dropbox sdk. but Oauth2.0's redirect url is only possible starts with "https://" Is there any way to use Oauth2.0 flow in android…
-
Deleted users MetaData and timeframe for purging deleted files
I'm looking for a definitive answer on a couple of things. 1. We were told while negotiating Dropbox services that the v1 API would not be retired until a solution to including deleted metadata was included in v2. From posting in the API support forum, I don't get a warm and fuzzy this is going to happen before the posted…
-
Obj-C V2 disk error after uploadUrl
If I try to backup up my database file using the uploadUrl method, when I next try to access the database using Core Data I get the following error: CoreData: error: -executeRequest: encountered exception = I/O error for database at…
-
Will the file ID never change?
The ID described in the FilesFileMetadata here. Can I use this ID to identify a certain file in my dropbox through the API without fail? E.g. If I use this ID with a webpage where I can add 'notes' to the images, save these notes in a database linked to the image ID's; will my notes still be linked to the correct images…
-
How to display images (get their links) without making two API calls? (Javascript API)
So I currently have a set up to display images on a webpage: dbx.filesListFolder({path: ""}) .then(function(response) { response.entries.forEach( (file) => { dbx.filesGetThumbnail({path: file.path_display, size: 'w1024h768'}) // And here I wrote the code that creates <img> to display them on my page. However, this makes my…
-
How to show a GIF thumbnail that is animated with the Dropbox JavaScript API?
So I have a folder full of GIF's. Each of them might be around 2~6 MB in size. They are too large to display in a gallery at once, so I'd like to load them as thumbnails. But the `dbx.filesGetThumbnail` doesn't work with animation it seems. What is the way to load smaller versions of my GIFs that are still animated?
-
How to access (read/write) advanced file EXIF/metadata in the Dropbox JavaScript API?
How to access (read/write) advanced file metadata in the Dropbox JavaScript API? I'm talking about things like: MacOS file tags. I think they are stored in the file's EXIF data. If I can retrieve a valid file-blob from the JS API then maybe I can use a JS plugin that can extract EXIF data from a blob, like this plugin. But…
-
SwiftyDropbox - Read User's File Structure
What's the best way to setup a collection view emulating the file/folder structure the user has on their account? I know if I use the recursive method it'll take ages before it fully finishes depending on the user, which is absolutely understandable. So I guess I'm just curious what the best way of calling and retrieving…
-
SwiftyDropbox - Get MediaMetadata Count
Currently I have to take the user's dropbox and read through their files counting the images they have. I wasn't sure if there was a better way or a method I could use that you have setup?
-
BeginUploadSessionStart Error
I am getting a wierd error now. i was able to make this work when the stream was empty but when i added the file as a stream which is 750mb i get the error below: at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__2d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at…
-
How to use Global Javascript API functions?
Hello Community, I found a list of extra functions to use and I want to try out `FilesFileMetadata`, to look at Metadata of a photo. However, `dbx.FilesFileMetadata` doesn't exist, and leaving out the `dbx.` also doesn't. I looked for a guide on the global functions, but I couldn't find one. Does anyone know how to use…
-
Get link of already shared Folder (Swift)
Hi, I'm using createSharedLinkWithSettings function to get the link of a already shared folder but it's giving this error: error [request-id ce72d5ed059d9a78c1d7368710550f8e] API route error - { ".tag" = "shared_link_already_exists"; } I would get the already shared link if the link already existed please help me with this
-
Correct way of uploading files in session?
Somethimes i get error too many write operations when uploading multiple small files at once. So I decided to upload them in session. But I can't seem to find the correct example of uploading. In documentation it says UploadSessionStartArg.close or UploadSessionAppendArg.close needs to be true for the last…
-
Objective-C V2 SDK thread safety
I am just in the middle of implementing a syncing solution using the Obj-C V2 SDK. I have a couple of concurrent threads. One for checking for (and downloading) any remote changes, and another for uploading local changes. This could potentially involve some concurrent usage of the V2 SDK. For example simultaneous…
-
OAuth2 problems with Django and Django Db Backup
Hello all! I'm having a problem regarding the usage of the DropBox API. I'm using dropbox to backup a few of my databases, which it worked perfectly. I'm using Django, Django dbbackup and internally it uses the dropbox api. I've checked and we are using the latest versions of all libraries. I have generated a proper Oauth2…
-
Java API - Ensure no deprecated code used for v1
I understand the removal of the V1 API is coming up in a couple of months. For the Java API is it enough to be running 2.06 or 3.0.0 of the Java API? Maybe there are deprecated methods, or anything else to check to ensure we will continue to be compliant? Joel
-
Apply for production Ability to link additional users frozen?
Hello, My app is in this status: "Apply for production Ability to link additional users frozen." This message "You already have a pending production status request." is shown after tapping "Apply for production". Nothing is changed. What can I do since the status being serveral days.
-
Problem with files/list_folder/get_lastest_cursor
I may be doing this incorrectly, but here goes. First, I uploaded and/or deleted something from the dropbox account (waited a few minutes). Then I ran https://api.dropboxapi.com/2/files/list_folder/get_latest_cursor passing the all the correct values. get_latest_cursor returned a cursor value (so far so good). Next I…
-
Invite to share folder using objective c iOS
i want to Invite other user to share folder using objective c iOS. Any onehave any reefrence.
-
dropbox javascript api points to folder inside of Apps directory
Hello community, I have created a dropbox App with 'Permission type: App folder'. I have filled in a name in the 'App folder name' and this was automatically created in my Dropbox in a directory `/App/folder-name` Now I have 2 questions: 1. Can I also point the dropbox Javascript API to an existing folder outside the `App`…
-
"A task was canceled" issue when using dropbox chunked upload
I'm writing a console application that uploads large files to dropbox. I want my program to resume failed upload whenever it accidentally exits or drops connection. I retrive the uploadID and offset from a txt file to achieve this. But I constantly get "A task was canceled" issue. And I figured it is a timeout error. I…
-
API to get a URL to edit a office document online
Hi I have a web site that allows the user to upload, view and download documents from Dropbox via the API. The customer would like to edit the documents online (WOPI). Is it possible to call a dropbox API that returns the URL that I then can put in an iFrame that would allow for the editing of the office document? Or is…
-
Sharing the root of an App folder.
Hi there, Our product is a CRM plugin that allows access to folder that is related to a CRM account. Many users on the CRM can access this app folder thru a common BEARER TOKEN. Is it possible, to share a App folder among users and let our client program maintain seperate identities to the same folders. In other words if…
-
Is it possible to pass all parameters to a v2 API request in URL parameters?
I have very particular situation when I cannot use request header at all and I'm basically need to pass all the parameters as URL parameters. It is not a problem for the v1 API. For example with this request I can easily upload a file…
-
ListFolder limit?
What is the limit of retrieved items using listFolder? When using listFolderContinue, what will be response? All data, including files/folders from previous call to listfolder) or just additional missing files/folders?
-
PPTX corrupted when uploading in php (chunk)
Uploading a 'pptx' file divided into parts through the Dropbox API is corrupted. Does anyone have a solution to this problem? Thank you $dropboxAdapter = new DropboxStorageRepository(); $file = $request->file("file"); $chunk = (int) $request->get('chunk', false); $chunks = (int) $request->get('chunks', false);…
-
OAuth2 http authentication, how to have browser show success?
In our OAuth1, after the user clicked 'Allow' in the browser, the user would get a 'success' message. In our OAuth2, the 'Allow' page in the browser just sits there (even though the app has authenticated and gotten the token). Eventually it times out and says: "Hmm, we can't reach this page." It seems to me that somehow…