Greg-DB Dropbox Community Moderator

Comments

  • @"kanak" Per the documentation, the Dropbox OAuth 2 app authorization flow should only be processed via the system browser now. 
  • The amount of time between your calls to /list_folder[/continue] doesn't matter. The server will always return the entries necessary to make sure you get an accurate state based on the cursor you provide, as long as you process the entries as documented.
  • When creating Paper documents using the API, the first line of the provided document data will be used as the document title, so make sure the first line is what you want the document title to be.
  • @"newacc1" Thanks for trying that and letting me know!
  • @"Jaryn" I don't have an update or timeline for this from the team yet, nor a workaround unfortunately. This is already open with engineering so you don't need to file it on GitHub as well. The "Known Issues" list you referred to is for end-users of the Dropbox product itself, not developers using the Dropbox API. I'll…
  • Your StackOverflow link is returning "Page Not Found". Do you still need help with this? For reference, that '.../apitl/..' link that you generated is a temporary link that points directly to the file content. That lasts for four hours after it's created. If you have that, during those four hours you can download the file…
  • Note that per the documentation: "The default 'team_sharing_policy' can be changed only by teams, omit this field for personal accounts." Are you on a team account? If not, remove that parameter and try again.
  • When creating Paper documents using the API, the first line of the provided document data will be used as the document title, so make sure the first line is what you want the document title to be.
  • Thanks for the report! We're looking into it.
  • It sounds like you’re experiencing an issue with a third party application. We can't offer help with configuring/troubleshooting that unfortunately, as it's made by a third party. Please reach out to the support organization for that app for help. If the developers of this app are having any trouble with the Dropbox API…
  • DeletedMetadata objects don't "expire" exactly, but whether or not old ones would still be returned (e.g., when calling files_list_folder/files_list_folder_continue again) after a significant period of time depends on a few specifics, based on the particular account's features, file activity, and some specifics of how the…
  • @"Splinter" Can you share the code you're using to reproduce this, and the output you're getting? I just tried to reproduce this and /download is returning the same datetime I'm supplying to /upload in a simple test: curl -vX POST https://content.dropboxapi.com/2/files/upload \ --header 'Authorization: Bearer…
  • It sounds like for what you're trying to do, the basic outline would look like this: * Call /2/team/members/list[/continue] or /2/team/members/get_info to get the team member's information, such as their member ID, if you don't already have it. * Call /2/users/get_current_account with Dropbox-API-Select-User containing the…
  • Using /2/files/get_thumbnail as you're doing here is the correct way to retrieve a thumbnail for a file from the Dropbox API. Per the documentation, you can specify a 'format' parameter to request either 'jpeg' or 'png' for the format of the thumbnail. You're not specifying that, so you'll get the default of 'jpeg'. This…
  • @"searchx" It sounds like the team probably uses the "team space" configuration, so the team folders aren't mounted inside the member's own folder. You'll need to use the "Dropbox-API-Path-Root" header to identify the team space in that case. The Namespace Guide goes over this in detail:…
  • To list shared folders, you can use DbxUserSharingRequests.listFolders/listFoldersContinue. I just shared some information about FileSharingInfo in your other thread. We don't have a sample to share for these unfortunately. Please try writing the code you need per the documentation and let us know if something isn't…
  • Yes, when you get the FileMetadata for a file, e.g., in the response from DbxUserFilesRequests.listFolder/listFolderContinue, you can use FileMetadata.getSharingInfo to get the FileSharingInfo. On that, you can use FileSharingInfo.getModifiedBy to get the account ID of the user that modified it. You can then use getAccount…
  • @"RichardTSchaefe" The list_folder endpoint unfortunately doesn't support "app authentication" (i.e., so no user access token is required), only "user authentication" (where a user access token is required), so I'm afraid I don't have a good solution for this use case. I'm sending this along as a feature request.
  • Thanks for the report! That should be working again now. Please try and let me know.
  • You appear to be trying to read the entirety of the contents into memory, which is likely to fail for large files like this. You'll probably want to use GetContentAsStreamAsync in the SDK (instead of GetContentAsByteArrayAsync), so you can access the contents via a stream, instead of reading it all into memory:…
  • This appears to be a duplicate, so I'll close this and follow up on the original: https://www.dropboxforum.com/t5/API-Support-Feedback/Large-File-Download/m-p/281126#M17183
  • 1. The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented, so I can't say off hand if you would or wouldn't hit the limits. Also note that not all 429s and 503s indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request,…
  • The version of the file you're trying to download is from 2017-04-17. Note that Dropbox only retains old versions of files for a limited amount of time, depending on the account type. This error is indicating that this version is no longer available. By the way, I removed it from your post, but for the sake of security,…
  • @"kilck" Can you elaborate on exactly what doesn't seem to be currently working and how? I just tried your sample for your first post and it's working for me. Thanks in advance! 
  • Dropbox offers a "shared link" feature which enables you to share files or folders via a link. You can create shared links via the API using /2/sharing/create_shared_link_with_settings. Note that these shared links themselves do contain a random token specific to the shared link, but this is not the "file ID". If you have…
  • Thanks for writing this up! We'll check on that to see if it's not working properly. You should be able make this work using the 'Dropbox-API-Path-Root' header though: Dropbox-API-Path-Root: {".tag": "namespace_id", "namespace_id": "<namespace_id>"} And then use the path like: path: /app_name/path/to/file.pdf,
  • Thanks for the report! This one should be fixed now as well. Please try again and let me know.
  • The API doesn't offer a way to disable comments, but I'll pass this along as a feature request.
  • Thanks! I believe we have enough information, but I'll let you know if we need anything else.
  • To remove a member from a shared folder, you should use the /2/sharing/remove_folder_member endpoint (or respective SDK method, if you're using an SDK): https://www.dropbox.com/developers/documentation/http/documentation#sharing-remove_folder_member