Greg-DB Dropbox Community Moderator

Comments

  • That rate limit with the longer Retry-After should just be a result of making a very large number of API calls for a particular user in a short period of time (as opposed to lock contention). If you're sending thousands of requests very quickly like that, you can run in to it. (It sounds like you would have normally run in…
  • Can you also share the relevant code showing how you're making the call and attempting to catch the exception so we can try to reproduce that the same way here? Thanks in advance! 
  • While you can certainly call GetMetadataAsync first, you should be able to directly catch an exception from DownloadAsync in the Dropbox .NET SDK using a catch block. I just gave this a try myself using the latest version of the Dropbox .NET SDK, currently v5.0.0, and it is working for me. I am able to catch the exception…
  • Thanks for the report! This looks like an issue on our side. We'll look into it, and I'll let you know when I have an update on this.
  • An "invalid_revision" error from /2/files/restore should mean "The revision is invalid. It may not exist or may point to a deleted file.". In this case, it sounds like it's because the file revision you're using when calling the API is for a version of the file from several months ago, which is no longer be available. File…
  • It sounds like the Linnworks support team is describing a bug with the Dropbox API. We'll be happy to investigate any issue like that, but there isn't enough information here for us to do so. Please ask Linnworks to report the bug to us directly, including the relevant technical details,…
  • @"vineet" Здравко is correct, to rename a file via the API, you should use /2/files/move_v2. To rename a file, you should include the full path and file name for the old path/name and new path/name in the 'from_path' and 'to_path' parameters, respectively. You don't need to change any parent path components though. For…
  • Great, thanks for following up! I'm glad to hear it helps a lot in this case.
  • @"homedeck" We don't currently have Dropbox product engineers for any particular product, such as Transfer, on the forum here, but thanks for the idea and feedback! I'll float this with them, as well as check in with them regarding the request itself.
  • Thanks for checking in. We'll make sure we don't leave a gap in coverage. If we do have to extend the migration timeline, we won't cut off the legacy Paper API. We may in fact be updating that timeline soon, but I can't offer specifics or an official update right now. 
  • Thanks for the report! We're looking into it. I'll follow up here once I have an update on this.
  • The Dropbox API does have a general rate limiting system, but we don't have any specific numbers documented (though they're relatively generous). Further, the limits operate on a per-user basis. That being the case, you usually don't need to worry about hitting it in normal use. Also note that not all 429s and 503s…
  • Thanks for the information! I'll follow up here once I have an update on this. That batch upload functionality can improve performance overall, especially when you are seeing contention issues, but it will vary from case to case. It helps by only taking a lock once per batch, as opposed to once per file.
  • Thanks for the report Nick! This may be due to some changes about how we return rate limit/lock contention errors and their Retry-After time windows. We'll look into it, but for reference, can you let me know, to the best of your knowledge, when you started seeing this? Also, does rclone ever submit multiple uploads for…
  • The 'files.team_metadata.write' scope is now available. You can enable it for your app on the Permissions tab on the app's page on the App Console. (Note that it is not available to apps using the "app folder" access type though, as those can't use any team scopes.)
  • To see file deletions over time, you should use the /2/files/list_folder[/continue] endpoints (or corresponding native methods, if you're using an SDK). If you store the latest cursor you receive, and later call back to /2/files/list_folder/continue, the result will include DeletedMetadata entries for items that have been…
  • That link is working. The endpoint URL is cut off, but it looks like you are referring to using /2/files/download_zip, and you're using curl to call it. I see you're setting 'CURLOPT_FILE' to send the result to a local file. You may want to use different curl options to put the result in memory instead of the local…
  • That link is also not working, but in any case, I imagine you're referring to using the /2/files/download_zip endpoint. That returns the zip data for the requested folder in the request body directly. If you want to then return that data directly to the browser accessing your server, you should refer to the documentation…
  • Your link is returning "404 Not Found", so I may not have full context here, but if you're making the Dropbox API calls on your server, you should be able to then return the information from the Dropbox API call down to the end-user of your site in their browser. Exactly how you do so will depend on your particular setup…
  • The filesDownload method in the Dropbox API v2 JavaScript SDK is just a way to retrieve the file data from the Dropbox servers, and doesn't itself interact with your local filesystem. You can access the file data via the fileBinary property like you mentioned, and from there you can do whatever you need with the data, such…
  • We don't have an official SDK for PHP/CodeIgniter, but you can a community library or the HTTPS endpoints for the Dropbox API directly, e.g., to upload and download files as needed.
  • Scoped apps should be working on mobile now.
  • @"maxjct" I can't make any promises myself, but if the feature is not yet available to you, you can reach out to support to ask here: https://www.dropbox.com/support
  • Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers For example, to create a shared link for any file or…
  • Your app needs to call filesUploadSessionFinishBatchCheck occasionally to determine when the batch has finished, and only then proceed with whatever other operations it needs to run based on the result (similar to your other thread, except that you may need to call a few times). That batch operation is happening on…
  • The Dropbox API doesn't expose the ability to get or set these permissions, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • We'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 number of the platform and SDK/library you are using, if any * the exact steps to reproduce the issue, including relevant code snippet(s) * the full text of any error or…
    in Api 104 Comment by Greg-DB August 2020
  • No, there isn't a way to programmatically disable/re-enable webhooks, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • Thanks for reporting this issue. This issue is now fixed and should be working properly. Apologies for any inconvenience this may have caused, and thanks again for bringing this to our attention.
  • No, unfortunately there isn't a way to do this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The closest thing currently is the info.json file, but it doesn't include username or email address.