Greg-DB Dropbox Community Moderator

Comments

  • We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly. Apologies for any inconvenience this caused.
  • We've had our engineers working on this and the good news is the problem has been fixed. Please try again and you should find that this functionality works correctly. Apologies for any inconvenience this caused.
  • If you want to use the Dropbox API in C#, we recommend using the official Dropbox API v2 .NET SDK: https://github.com/dropbox/dropbox-sdk-dotnet 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…
  • What is the type and size of "req.body.file" before you modify it though, and what does it contain? It's hard to offer insight as I don't know exactly what you're working with. Are you using Express or something? Is `req.body.file` getting set by some middleware? What, if so? It might be more helpful if you can provide a…
  • It looks like there are a few parts to your code on StackOverflow, so it would be good to isolate where the issue is exactly. I.e., where does the data go from being the expected value to something else? There's an example of uploading using the JavaScript SDK here, where the file object is passed in directly to the…
  • @"jdwileymon" I don't believe this thread is relevant to the problem you're seeing. This thread was about using the Swift SDK, but you're using the JavaScript SDK, and it also doesn't mention the "an audio error occurred" error you cited. I'll follow up on your thread for this issue:…
  • Thanks! I see you're running a filesUploadSessionFinishBatch job, but are trying to check it using filesCopyBatchCheck. For filesUploadSessionFinishBatch jobs, you should use filesUploadSessionFinishBatchCheck to check it: https://dropbox.github.io/dropbox-sdk-js/Dropbox.html#filesUploadSessionFinishBatchCheck__anchor
  • To clarify, are you seeing this consistently for a particular job ID, or for multiple different job IDs? Once you get `internal_error` for a particular job ID, you should stop checking the job status, as it won't change for that job ID. The `internal_error` failure should be considered permanent, so you need to try to…
  • There isn't a way to do that exactly. Instead though, you can use "preview" links, and then modify them for direct access: https://www.dropbox.com/help/desktop-web/force-download That will give you a non-expiring link from which you can directly download the file content. Things to be aware of however: - these preview…
  • Apologies for the trouble. This should be working again now. Please let me know if you're still seeing any issues.
  • No, unfortunately there isn't a good way to do this when it's not shared, but I'll pass this along as a feature request. We also don't recommend just using /home + the path, as that's subject to change.
  • No, unfortunately there isn't a way to get thumbnails for files via shared links, but I'll pass this along as a feature request. The closest thing you could do is use GetSharedLinkFileAsync, but that would just return the original file data, not a thumbnail.
  • [Cross-linking for reference: https://stackoverflow.com/questions/50185625/upload-file-to-dropbox-by-terminal-command-line#50185625 ] @"lucasromeiro" I see that you also posted on six other old/unrelated threads about this. We're happy to have you on the forum to engage with us an other developers, but please refrain from…
  • If you want an entire folder, you can use the new "folderselect:true" option: https://www.dropbox.com/developers/chooser That can only be used with "preview" links, but you can modify those links for raw file access as documented here: https://www.dropbox.com/help/desktop-web/force-download For folders, that will give you…
  • It sounds like you already sorted this out, but for anyone else with the same question, the issue here is that the metadata is for a file, but the /2/file_requests/get endpoint is for returning the information about a 'file request'. To get the metadata for a file itself, one would instead use /2/files/get_metadata, or to…
  • Thanks for the post. I'm glad to hear you were able to get this working again. I'm not sure I follow this totally though, so just to be clear, are you saying there is a bug in the official Dropbox .NET SDK v4.8.0, or does the bug only appear to be in the "Xamarin Forms upgrade, .net and PCL stuff" ?
  • Thanks for letting me know! I'm glad to hear that's no longer occurring. I'm not aware of any such changes, so it may have just been a transient issue.
  • To clarify, are you seeing this in the standalone Microsoft Edge browser as well, or only in any web view based on Microsoft Edge? It would be useful to know if you're seeing this in the standalone browser. I just tried it in standalone Microsoft Edge and it loaded much quicker than that for me.
  • This is a known issue and is open with engineering. You can find more information here: https://github.com/dropbox/dropbox-sdk-js/issues/174
  • @"eduapp" Your question looks unrelated to this thread, so please start a new thread with the details of the issue you're seeing (e.g., steps and code to reproduce the issue, plus the error message for the crash) so we can take a look and help without spamming anyone else here. Thanks!
  • @"ismdcf" Thanks for the information. I'll pass it along to the team. While we'll try to maintain compatibility when possible, unfortunately we can't officially promise support in the future. If you are able to update the browser engine used by the web view over time, I recommend doing so. 
  • From the sample you provided, I see that you're trying to call /2/auth/token/from_oauth1. This endpoint is only meant for use if you already have pre-existing OAuth 1 access tokens (e.g., retrieved in the past for API v1), which you would plug in there. If you are only starting development now, you would not have OAuth 1…
  • Hi Brian, the Dropbox API itself doesn't offer much in the way of interfacing with the official client unfortunately, so I don't have much to offer on that side, but I'll pass this along as a feature request. You could look into monitoring file events using fsnotify or fanotify or whatever the equivalent is on your system,…
  • I believe I just commented on your StackOverflow post: https://stackoverflow.com/questions/50127717/importing-files-from-dropbox-using-api-v2-to-a-serverweb-to-web I don't have full context on your app, but there are several ways to get the file data. If the Chooser works for your use case though, that's recommended as…
  • Yes, this is still open. I'll check in with the team on this and follow up here if/when I have any news.
    in /copy_batch Comment by Greg-DB May 2018
  • Thanks! I'll follow up on that thread.
  • Is the `root_name_space` in your code referring to a team space? If so, in order to access the team root using the Python SDK and get the relative paths, you'll need to use `with_path_root` like this: dbx.with_path_root(dropbox.common.PathRoot.root(root_name_space)).files_list_folder("") Apologies this isn't better…
  • Great, thanks for confirming that! [This thread is now closed. If you have a similar or new question, you can ask here]
  • Thanks for clarifying! The API will always service whatever API calls are made as soon as possible, so if you want to defer operations like this, you should build that in to your app's code. That is, just have your app itself wait to make those API calls, e.g., to create a folder, upload files, etc, until whenever you want…