Greg-DB Dropbox Community Moderator

Comments

  • Apologies for any confusion here. While we encourage developers to write in feature requests like this, we can't guarantee if or when any particular request would be implemented and released. We are tracking the feature request for modified time for folders, but that hasn't been added and I don't have an update on if or…
  • The UploadSessionFinishArg object is just an argument that you constructed. That is, it only is a way for you to specify parameter, but doesn't itself make the API call. The actual API calls are to finish and check these are uploadSessionFinishBatch and uploadSessionFinishBatchCheck. What are those returning for you?
  • [Cross-linking for reference: https://stackoverflow.com/questions/42548154/dropbox-oauth-login-fails-in-android-webview-4-3-and-below ] Are you able to get the error output from the JavaScript console? That would be useful in investigating this. Thanks in advance!
  • Also, please share your project.json. Thanks!
  • Thanks for the report! I can't seem to reproduce this issue though. Can you let us know the following so we can look into it? - What platform/version are you running this on? - What version of the Dropbox API library do you have installed? - What's the code that causes this exception? Thanks in advance!
  • The system requirements help article covers browsers under the "For dropbox.com" section: You can transfer and download files from dropbox.com using most modern browsers, but dropbox.com works best on the two most recent versions of: - Chrome ... Some features may not be fully supported on older versions of these browsers,…
  • Thanks for the report! We'll look into it, but I'm afraid I can't make any promises as Chromium 25 isn't supported. I'll follow up here with any updates. Regardless, I do recommend updating your app to use a supported browser. That could be by embedding a supported browser, or by sending the user to their default browser,…
  • You should certainly be getting some error or output. Have you stepped through it with a debugger to see what it's doing and what code path it's taking?
  • Access tokens can be revoked remotely at any time, so the only way to check if it's still valid is to make an API call. The GetCurrentAccountAsync method is a good one for that, as it doesn't have any side effects. (By the way, I believe the old HasLinkedAccount method you referred to didn't actually do that, and only…
  • You can check the type of the object using isKindOfClass, as shown here: https://github.com/dropbox/dropbox-sdk-obj-c#response-handling-edge-cases
  • Apologies for the delay! There was an issue with the forum and I was only just notified of your post. Anyway, no, files and folders inside one user's app folder are not automatically accessible to other users. Also, app folders are incompatible with shared folders. That is, app folders can't contain shared folders, be…
  • Hi Bob, apologies for the delay. I was only just notified of your post about the extraneous console output on 2/15. I believe that's some extra output from Xcode as covered here: https://stackoverflow.com/questions/37800790/hide-strange-unwanted-xcode-8-logs/39461256#39461256
  • Issues affecting create_folder would be different than the upload_session performance issues on this thread. I'm not seeing the issue with create_folder you reported myself though. I see you also opened a ticket, so we'll look into it and follow up with you there specifically as it sounds like that may be account-specific.
  • I unfortunately can't seem to reproduce this behavior. Can you share a small sample project that reproduces this? Thanks in advance!
  • Thanks! I'll send that request along too.
  • - No, I don't have a solution like that to offer. You can find all of the resources for the API on the developers site. - Use of the API/SDK itself is actually entirely free. The API is built such that developers can create apps that (once in production mode) any Dropbox account can link to. The Dropbox accounts used with…
  • If the Dropbox desktop client works for your use case, we recommend using that: https://www.dropbox.com/install Otherwise, yes, the Dropbox API does support uploading and downloading files, and we have an official .NET SDK here: https://www.dropbox.com/developers/documentation/dotnet
  • It sounds like you're referring to uploadUrl and downloadUrl. The documentation there has more information, but the first parameter to each is the remote path in Dropbox (that is, the path where you want to upload to or download from, respectively.) The URL parameter is likewise the file URL to upload from or download to,…
  • Looking at the response body for the 400, the error is: CORS preflight failed. The following HTTP headers are not allowed: "bearer". "Bearer" isn't the header though. The header should be "Authorization", with "Bearer" as part of the value. That is, instead of this line: let headers = new Headers({ 'Bearer':…
  • I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: - the name and version of the platform and SDK/library you are using - the name(s)/version(s) of the affected browser(s) - the steps to reproduce the issue - the relevant code snippet(s)
  • When using UploadAsync with Await, the call should block until the upload is complete, and then return once it is. This is working properly for me. How are you checking this behavior? Have you stepped through your code with a debugger? You may wish to do so if you haven't already.
  • Thanks for the report. Can you share the code you're using to reproduce this, and the output you're getting? Specifically, the returned metadata for the two versions would be helpful. Thanks in advance!
  • Thanks for the post! I'm sending this along as a feature request. I can't make any promises as to if or when that would be added though, so if you control the resource host, as a workaround you can instead generate URLs that contain random, unguessable tokens, and/or that are time-limited which you would then supply to…
  • I don't have an update on this right now. I'll follow up here once I do.
  • Thanks for the request! I can't make any promises, but I'll send this along to the team.
  • For these calls with the parameters in the header, you need to escape these characters. That is, when you use the “Dropbox-API-Arg” header, you need to make it “HTTP header safe”. This means using JSON-style “\uXXXX” escape codes for the character 0x7F and all non-ASCII characters. Some, but not all, languages/libraries do…
  • Hi Fahad, if you're using the Dropbox API v2 Java SDK, the SDK will translate these 4xx or 5xx error responses into exceptions for you, so you don't have to parse them yourself. For instance, in the upload_file example here, there's some basic exception handling for some of the different kinds of exceptions that may get…
  • Do you mean you want to call /1/metadata/link from JavaScript? I just tried that out, and got it to work like this: $.ajax({ url: 'https://api.dropbox.com/1/metadata/link', type: 'POST', data: {'link': "https://www.dropbox.com/sh/748f94925f0gesq/AAAMSoRJyhJFfkupnAU0wXuva?dl=0"}, headers: { "Authorization": "Basic…
  • The SaveUrl functionality doesn't have a file size limit, but the download operations on the Dropbox servers do time out after 5 minutes. So, if it takes longer than 5 minutes to transfer the file from the URL to the Dropbox servers, the file won't be saved.
  • Thanks! I've sent this along as a feature request.