-
UploadAsync fails with small files > 100K and < 1MB
Hi, I used the sample code for UploadAsync() method, in VB.Net, VS 2015, .Net 4.5, API v3.1.2, and for very small files it works perfectly. However for somewhat larger files, ie 151K it never works. I also tried the sample code that uses UploadSessionStartAsync, UploadSessionAppendAsyncV2 and UploadSessionFinishAsync, with…
-
Sync individual files to iOS
New to this stuff ... developing a new iOS app in swift using the new dropbox sdk. I don't need to see the users entire dropbox folders. Just specific to the app Is there an example of how to do this? I think I have seen something about an app specific folder and authentication for dropbox. Any examples for this please?
-
Exception in thread "main" com.dropbox.core.NetworkIOException: Read timed out
The code I'm running is this; public class test { static final String ACCESS_TOKEN = "<REDACTED>"; public static void main(String args[]) throws DbxException, IOException, InterruptedException { DbxRequestConfig config = new DbxRequestConfig("dropbox/java-tutorial", "en_US"); DbxClientV2 client = new DbxClientV2(config,…
-
Is there any query parameter support or search support
Hi We are working on developing an integration, I wanted to know is there any query parameter support or search support for the Dropbox APIs? Is there any link for this information for the APIs on which it is supported and what all parameters are supported
-
401 unauthorized error
Hello Team, We are getting 401 unauthorized error when we are accessing the folders/files with the name includes '(' or ')'. We are accessing the API method with web request. Please suggest me to resolve the 401 unauthorized error. Thanks & Regards Naga Suresh D
-
Fail to load oauth2/authorize page
According to API document, I tried to load authorization page with parameters like below. (covered client_id for privacy) https://www.dropbox.com/1/oauth2/authorize?client_id=<client_id>&redirect_uri=x-agent%3A%2F%2Fdropbox_callback&response_type=code&state=MTQ0NzE0MTkyNTc3MQ%3D%3D The page returned 400 HTTP status error…
-
authentication error
Following is the the code from dropbox tutorials from dropbox.client import DropboxOAuth2FlowNoRedirect, DropboxClientfrom dropbox import rest as dbrestauth_flow = DropboxOAuth2FlowNoRedirect('r********', 'r***********')authorize_url = auth_flow.start()print ('1. Go to: ' + authorize_url)print ('2. Click \'Allow\' (you…
-
Finding number of team files using Business API
Hi. Is there a fast way to calculate the number of files that can be accessed by a team? We'd like to avoid crawling every user account (although a direct end-point for user data including number of files would be great too).
-
API v2 .NET, problem with upload session
Here is my code. If the file is small, the UploadAsync function is called and works flawlessly. However, for larger file, the chunk upload fails. I get a JSON error the first time UploadSessionAppendAsync is called. Any idea what could be wrong ? private async Task Upload(string file, string targetPath) { const int…
-
Proccess OAuth 2 on the web
I have an application integrated with the Drobpox API and I'm using the OAuth 2 flow on the web however when I try to connect it and I'm logged for that browser, I can't see the windows for the confirmation that appear in the step /oauth2/authorize?response_type.... and I access directly. The problem is when I want to…
-
How do I create a shared link with expiry date from API (Python SDK)?
https://www.dropbox.com/developers/core/docs/python#DropboxClient.share
-
Android SDK saved access token fails
When I authenticate my application using OAuth2 method it works fine and I am able to save the token. However, when I reopen the application and try to use the saved token, the authentication always fails. I checked and the token that is created is the same as the one gets saved. Any ideas what might be the issue?
-
KDE Kmail link with dropbox: "user limit reached". What does it main?
I am setting up Kmail, an e-mail client of KDE. One of the things that it offers is the possibility to connect that programme to Dropbox in order to be able to send very large files to addressees using Dropbox. However, setting up the link with Dropbox, i.e. authorising Dropbox to establish an link with Kmail by entering…
-
Reassign Dropbox App to different account
I'm currently developing an iPad app and applied for production status for dropbox usage which was granted. I then realised that my dropbox app is associated with my own personal dropbox account - rather than a work developer dropbox account. Is there anyway I can transfer my dropbox app from one account to another?
-
Api v1 - can I create Permanent Direct Url ?
Hi Dropbox community, In my application, I am caching a list of internal objects which represent a list of excel files in dropbox. For each internal object I am generating a temporary direct url using api v1. I've read in a different post, that this url experies after 4 hours…
-
Update your Dropbox Python Core SDK
Hi! We have recently received a message indicating that the old version of the Python SDK we're using (1.6) is going to be deprecated on Aug 1, 2016. Had a couple of quick questions about this: * If we were to continue using the 1.6 SDK, what sort of issues should we expect? Will all API calls fail due to the expired…
-
BadResponseException: Bad JSON
Dear Dropbox Community, I am using the Dropbox API v2 for my Android app. Lately I have been seeing issues when trying to download a file with client.files().download() where the file does not (yet) exist. Instead of the expected DownloadErrorException, I am getting a BadResponseException (full stack below). I am using the…
-
Android ACTION_SEND changed.
I have an Android app that interacts with other apps using the Intent.ACTION_SEND methodology. This has been working will the Dropbox app until this week (Dropbox app now version 7.2.8) it's not stopped working as intended. The main purpose is to send a file generated from within the app so I am setting EXTRA_STREAM with…
-
Login Issue Winrt 8.1
When attempting to login using the dropnet sdk for Windows phone 8.1, for the most part I usually have no issues but recently I've been running into the problem where multiple times I would need to re-login until I finally get to and past the allow page before being able to browse through the files. While debugging I've…
-
Cache files properly with Core API for iOS and Swift
Hello! I'm now working on the simple Dropbox viewer application. Currently I'm using "download to Documents folder" method like that: if let data = NSData(contentsOfFile: destinationPath) { print("File already cached") } else { print("File not cached, processing cache operation...") Manager.client.loadFile(filePath,…
-
Authentication to dropbox on tvOS
I want to authenticate to dropbox in tvOS. However, when dropbox opens the authentication dialog, there is not way for the user to fill it- the UI does not meet the tvOS requirements. So I want to open a tvOS dialog for username/password. But Is there a way then to take this data to authenticate manually, i.e. using code…
-
list_revisions 500 status on certain files
Hello, I'm working to restore a large number of files via the api list_revisions -> restore behavior. My initial pass work for all but 100 of the targeted files. Every time I used list_revision for these 100 files it gave me a 500 error with no addition details. Workflow: List Dir -> look for entries with a certain…
-
Is /save_url endpoint going to be removed in API v2?
My app is currently using the /save_url endpoint in API v1 to save files to Dropbox from a given URL. That is, you don't send the file directly, instead just the URL. But today, when I checked the docs of the upcoming API v2, I couldn't see any endpoint with this feature. There is only /upload endpoint which takes the…
-
Integration with KnpGaufretteBundle
Hi. I'm integrating dropbox to my symfony2 application and I need next parameters: * consumer_key * consumer_secret * some_token * some_token_secret ... to use dropbox via OAuth1. But at my application info dashboard (https://www.dropbox.com/developers/apps/info/bla-bla-bla) I haven't 4 parameters, have only 3: - App key -…
-
Uploading to dropbox from an external link
Hi there. I've recently just purchased a dropbox pro account and I'm trying to upload my files to it. Unfortunately I have an awful internet connection (upload speed is about 50kb/s at the most) so it's proving quite time consuming to upload everything. From my MEGA account I have about 40gb of files that I want to…
-
Datastore - Export of user data
Hello, I wonder if it is possible to get exported data from deprecated Datastore api for an account. Our user says that he has found "Datastores for Monefy.csv" in his dropbox folder. It would be great if you could suggest how that file can be received. Thanks
-
Unable to Upload the File into DropBox From Salesforce Using /Files_put API ?
Hi All, I tried to upload the file into Drop Box account From Salesforce Using /files_put Dropbox Api.But am always getting following Error : [Status=Bad Request, StatusCode=400]{"error": "Body may not be empty"}. Hereby My Code as follows, public class DropboxController { public DropboxController() { } public…
-
dbx.files_upload raises ('Connection aborted.', BadStatusLine("''",))
Hi, I am unable to upload using your Files_upload function. It fails with the following error: requests.exceptions.ConnectionError: ('Connection aborted.', BadStatusLine("''",)) I am on Windows 7 Pro 64 bit. Using Python 2.7.11. I installed upgrades to dropbox (6.2 six-1.10.0) and Requests (2.10.0). I can replicate the…
-
python upload big file example
Can you please share an example code of how to upload big files (size > 150 mb) with python api v2 sdk?