-
API v2 access token validity
I've 3 questions here: 1. Does authentication token generated for an app have expiry? 2. I've a DropBox app and have authentication token generated for my own account using website. Do I need to care for v1 API deprecation? 3. Does clicking on "Generate access token" invaidate the previously generated token?
-
Dropbox android sdk 1.6.3 supports v2 or not.?
I have developed android app with Dropbox android sdk 1.6.3 and it uses startoauth2 for authorisation purpose. Now I am bit confused if I am already working with Dropbox Api v2 or changes are required in app to make it compatible with v2?
-
API raises exception when uploading big files in session
Hi, I have been trying for a few days to upload a big file into my Dropbox account using the python API, i have tried using the following code: f = open(file_path) file_size = os.path.getsize(file_path) CHUNK_SIZE = 4 * 1024 * 1024 if file_size <= CHUNK_SIZE: print dbx.files_upload(f.read(), dest_path) else:…
-
Objective C batch download
Would just like to know if there is a batch download method available. http://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESUserAuthRoutes.html#/c:objc(cs)DBFILESUserAuthRoutes(im)downloadUrl:rev:overwrite:destination: I have looked through the api but it doesn't seem to exist And if its not. is a…
-
Create a folder
I want to create a folder as soon as the user login in the app, i tried the following function to create folder but i can see no folder is created.. I am calling this function after the login.. CreateFolder() { let args={ "path": "/Homework/math", "autorename": false } let headers = new Headers();…
-
Script errors using oauth in WebBrowser control in C#
We implemented oauth in a C# WPF application following this blog post: https://blogs.dropbox.com/developers/2014/04/dropbox-authorization-in-a-windows-forms-app/ On our test systems it is working fine but some customers are reporting script errors on https://www.dropbox.com/1/oauth2/authorize/... "Object doesn't support…
-
Audit event 'web_ip_changed'
Hi, In the audit log events, there is an event type 'web_ip_changed', Can someone explain what exactly this event mean. Could not find in the documentation. Thanks, Murali
-
.NET Exchange authorization code
I'm using on my application the following: DropboxOAuth2Helper.GetAuthorizeUri(<client_key>); This shows an authorization code on the browser. Once pasted back to the app, I can't find anywhere how to exchange it for an access token. I'm using c# on desktop app.
-
Upload/Download files via API using AWS Lambda - Rate Limiting
Hi all, I am designing a system to copy files to/from Dropbox via the HTTP API using AWS Lambda functions. We may be copying large quantities of files (up to 10,000 in a batch) using a single API key. As you may know, AWS Lambda can fire thousands of Lambda functions simultaneously. This could mean that the API gets hit…
-
Http 504 Gateway Timeout when trying to get upto 1000 or more files in c#
I am trying to fetch a folder using C# dropbox api and I am paginating results as well but still I get timeout on it as it contains more than 1000 files. Here is my pagination code: var children = await GetDropboxClient().Files.ListFolderAsync(dbxItem.PathLower == DROPBOX_ROOT_PATH ? string.Empty : dbxItem.PathLower);…
-
Help downloading a non-image file using the API
I am trying to use the v2 API to to get a temporary link to a file. JPG files work fine, but I have some .dcm files. These are medical image DICOM format files. I need to be able to create a temporary link to this file so that I can download it from my own web application. I am calling the API with this message:…
-
Which intent to lunch dropbox app to edit text file?
I am on android working with official dropbox app. Which intent and class to lunch dropbox app and direct edit some text file? StartActivity(); Action: android.intent.action.EDIT Package: com.dropbox.android Class: com.dropbox.android.activity.DropboxBrowser Flag: FLAG_ACTIVITY_NEW_TASK Data URI: file://ABC/123.txt Didn't…
-
[Java] How to use getMetaData() API in v2 to fetch the folder results
I was already using getMetaData() API in v1 to fetch the folder content. How to use the same to fetch the folder content in v2 as I can no longer find the contents API in v2?
-
Missing or empty HTTP "Content-Type"
I am having a terrible time trying to complete a large file upload using REST/HTTP Post. I am able to start an upload session and append to an active session but when I call finsih I get the following error: Error in call to API function "files/upload_session/finish": Missing or empty HTTP "Content-Type" header. Expecting…
-
preview_url vs url
Hi, Could you please exaplain what is the differnce between preview_url and url field? Both of them are returned from the call sharing/get_file_metadata. The url field is part of the link_metadata (is this feature is still unreleased?) The value in both fields is the same. Thanks, Saar
-
java.net.UnknownHostException
Unable to resolve host "api.dropboxapi.com": No address associated wi
-
Metadata instanceof DeletedMetadata and FileMetadata
Hello, I would like to know if there's any way of check if the Metadata of a certain entry is of type DeletedMetadata and FileMetada but not FolderMetadata. Like the following: if (entry instanceof DeletedMetadata && entry instanceof FileMetadata) { log.info("Deleted file: "+entry.getPathLower()); } That's why I only store…
-
adding credential hardcoded in android instead of asking the client
I have this code in my android app and I want to publish files to my dropbox not to the user dropbox so the credintial should be hardcoded instead of asking the user for them, so I think this line mDBApi.getSession().startOAuth2Authentication(MyActivity.this) should be change but I couldn't know what to replace it with,…
-
Sync status via explorer icon ovelay
I am designing a Windows app that, among other things, will tell the user the sync status of their Dropbox account. The simplest option for me is to check for the Green mark icon overlay in explorer.exe or the Dropbox TaskBar icon. However, there does not seem to be a simple Windows API method to return whether the overlay…
-
get sync folder path on local machine
Is there any API that I can use to fetch the sync folder path on machine. The sync folder path is associated with the account. Ajay
-
submit for review
Submitting our app to review, without enough testers. hello there. first of all, thanks for the great work. we have a problem submitting our app to production, because there is no testers. and the reason for that is a our testers could'n access there dropbox accounts via the app, because thay have a production version of…
-
linked users
How do i gain (testers/linked users). i've loged in from several devices that connected to my dropbox account. and they have successfuly selected a file from dropbox. and still the linked users counter shows 0/500 !!!!! i need to get my 50 users and submit this app for review ASAP please.
-
Error (400) Invalid redirect_uri
I'm trying to import Dropbox files to Draft.com, but get this error message: Error (400) It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below. More details for developers Invalid redirect_uri:…
-
Cannot auto rename file
I'm using Dropbox Java API to upload file. Following is the code to uploadFile with auto rename set to true void uploadFile(@NonNull final String inPath, @NonNull final InputStream inputStream) throws IOException, DbxException { client.files() .uploadBuilder(inPath) .withMode(WriteMode.ADD) .withAutorename(true)…
-
DropBoxRest API in C# OAuth2 Does not contain a definition for AuthorizeAsync
I'm not entirely sure where this goes. I'm trying to write a program that access specific files in my dropbox account but it keeps giving me this error message. How do I fix that? The error message appears on just this line of code: var authRequestUrl = await client.Core.OAuth2.AuthorizeAsync("code"); I'm still kind of…
-
List all files on dropbox using API v2
I would like to list all files on dropbox using API v2. Some example with java would be really nice. Currently I'm doing the following: public String syncFiles(DbxClientV2 client) throws ListFolderErrorException, DbxException { ListFolderBuilder listFolderBuilder = client.files().listFolderBuilder(""); ListFolderResult…
-
Accessing .tag or just listing folders Swift
I have looked everywhere and can't seem to find an answer. I am trying to list just folders in a table. When I do a listFolder call it gives me all the folders and files with a .tag. Is there any way to access that .tag or just list the folders? I know you can list files by using the Suffix but what about folders? Thanks…
-
Unable to list folder files in iOS Swift
I am facing below error when I am trying to list folder or get current account info. Please help Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLKey=https://api.dropbox.com/2/users/get_current_account, NSLocalizedDescription=cancelled,…
-
OAuth2 No Redirect
I'm doing experiments with API and I found Dropbox API very user-friendly, but I'm missing one thing: is there any way to perform OAuth2 authentication like with Python library (no redirect, user copies and pastes code from web)? Thank you.
-
Dropbox Java SDK update to 3.0.3
Hello, We have received an email asking us to update our app to the latest version of the SDK within the next two months. This is because some return types from some endpoints may fail to deserialize correctly, raising a runtime exception. I have a couple of questions: 1. You mention that return types may fail to…