Greg-DB Dropbox Community Moderator

Comments

  • 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 number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or…
  • The Dropbox API does not impose a speed limit/cap, and this does not vary by plan. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds,…
  • Yes, the search results are subject to delays and staleness due to indexing/caching, which can result in this behavior for moved files. This should automatically catch up after a short time. For more definitive results not subject to this, you may want to use /2/files/list_folder[/continue] instead.
  • @"Edneth_Girao" This is open with the team, but I don't have any news yet. I'll follow up here once I do.
  • The progress should now be getting reported properly again. Note that progress will not be reported if the source URL does not return Content-Length.
  • In this case, this would be because you're using asAdmin as to administratively access team content on behalf of an admin, who may not necessarily have that content mounted in their account. To get the path values, you'll need to make the call in a context where the content is mounted, such as by doing any of the…
  • If the path fields aren't set, e.g., in the metadata for an item returned by /2/files/list_folder[/continue] or /2/sharing/get_file_metadata, that indicates that the item isn't "mounted" in the account/root for the call, and so does not have a path to include. The File Access Guide, Sharing Guide, and Team Files Guide may…
  • @"lucaortis" As Здравко pointed out, you have a double leading slash, which is not a valid path format. Specifically, you're supplying the path "/Applicazioni/Costumer Manager Files/Ore.txt", but then are adding an extra leading slash when you format it with your code: $TargetFilePath="/$testFile"
  • @"alicera" In addition to the method Здравко helpfully provided, you could use the /2/sharing/get_shared_link_metadata Dropbox API endpoint to retrieve the metadata for a shared link, or an error if the shared link is invalid.
  • It looks like you're attempting to download a file from Dropbox and then re-upload that file to Dropbox, but it sounds the uploaded file isn't formatted properly or doesn't contain the expected data and so is not successfully displaying. Dropbox doesn't apply any additional processing or encoding to uploads, so you should…
  • Dropbox now supports OpenID Connect. Check out our guide here for more information: https://developers.dropbox.com/oidc-guide
  • Dropbox now supports OpenID Connect. Check out our guide here for more information: https://developers.dropbox.com/oidc-guide
  • As for the connection speed for the upload requests, note that your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside…
  • Dropbox doesn't offer a way to get URLs for thumbnails (regardless of the source being a file from a connected account or a shared link), but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The /2/files/get_thumbnail_v2 endpoint does allow you to get a thumbnail from…
  • Dropbox API apps can connect to Dropbox accounts of any type. Upgrading to a Business plan won't break your app. Note though that Dropbox Business accounts may use the "team space" configuration, which API calls don't access by default. Refer to the Team Files Guide for more information.
  • Is this output just the $post_dump that you're saving to logs.txt? If so, it looks like that only includes the result of the listFolderContinue call, but not listFolder. While you do need to implement both, in this case it's possible all of the results are being returned by listFolder, and so there's nothing left to return…
  • Thanks for writing this up! I can't make any promises myself, but I'll pass this along to the team to see if we can get that done.
  • @"vinitswar" I just checked the support system, and I see we did reply on Monday. Please check the email inbox for the email address registered to your account. Be sure to check your spam folder as well, in case it was filtered.
  • @"Mwidders" As Здравко mentioned, it's not clear what exactly you're referring to. If you're referring to an "authorization code", note that that can only be used once. Otherwise, a "short-lived access token" would be valid for several hours, unless revoked by the app or user. The OAuth Guide and authorization…
  • @"aalok" Yes, the links in my previous message as well as the link that Здравко shared show how to use the OAuth app authorization flow. Attempting to use an expired short-lived access token will fail with the "expired_access_token" error. Refer to the Error documentation and Error Handling Guide for more information on…
  • No, Dropbox does not intentionally throttle the connections from third party apps. Note though that your connection speed to Dropbox depends on a number of different factors, which can vary over time, such as the routing you get between your ISP/device/app and our servers. Sometimes resetting or retrying your connection…
  • @"vinitswar" I see you wrote in to support about this, so we'll follow up with you there.
  • If you're using SwiftyDropbox, you don't need to set your own custom OAuth 2 redirect URI. You should just use the built in authorization functionality as shown here and the SDK will handle that for you.
  • @"Здравко" Apologies, I was referring to the lack of a top-level cursor from /2/sharing/list_file_members/batch, as compared to the SharedFileMembers.cursor returned by /2/sharing/list_file_members. As you pointed out though, there is the nested ListFileMembersIndividualResult.ListFileMembersCountResult.cursor though, for…
  • It is not possible to fully automate the OAuth process where the user chooses to authorize the app and the app then receives the resulting access token and optional refresh token. This needs to be done manually by the user at least once. If your app needs to maintain long-term access without the user manually…
  • @"noacaspi" That's correct, the /2/sharing/list_file_members/batch and /2/sharing/list_file_members[/continue] endpoints operate differently. The /2/sharing/list_file_members/batch endpoint does not return a cursor, for instance. Refer to the descriptions for those routes and the documented fields for more information on…
  • @"vpj123456789" I see you're using the listSharedLinks method in the Dropbox Java SDK to list the shared links in the connected account. Refer to the linked documentation for information on how to interact with that. For instance, that returns a ListSharedLinksResult object, so refer to that to see the options for reading…
  • You can find information about the limits on shared links in this help center article. This also includes interacting with shared links via the API. Additionally, the Dropbox API does have a general rate limiting system that applies to all account types, based on the number of calls over time, but we don't have specific…
  • We cannot provide support or guidance for Laravel itself, as that's not made by Dropbox. If you need help with the Dropbox API, please provide the information described in my previous post so we can help.
  • @"vinitswar" As Здравко asked, it sounds like you have your application linked to just the one account of the two. Your app will only receive notifications for accounts linked to your app, but it will receive notifications for any changes in the linked account(s), including those in shared folders. So, even if different…