Greg-DB Dropbox Community Moderator

Comments

  • Thanks, looking at that line then, is it possible DxClient itself is null? The screenshot is cut off, but I presume there aren't any other variables referenced that I can't see. The Locals pane shows stream and commitInfo as defined, but DxClient isn't shown.
  • The /2/sharing/create_shared_link_with_settings endpoint is the right way to create a shared link for a file, e.g., for public access. Can you print out the response body you get from that call? It should contain either the result, with the created shared link, or an error indicating why the call failed.
  • Thanks for following up and clarifying. It sounds like you're referring to trying to edit a text file on www.dropbox.com. The Dropbox web site doesn't offer text editing functionality for .txt files like that, but you have several options of other ways to edit the file, such as: * You can edit the file locally on your…
  • The Dropbox SDK doesn't offer a way to enable more verbose output, such as for UploadAsync to offer more information about the operation. It's unclear exactly what's occurring here, or why you'd get a NullReferenceException on the variable being used as output, if that is what's happening. Can you print out the full stack…
  • Can you elaborate on what you mean when you say "the file is not editable"? Please share the steps and code you're following that lead to the issue, as well as whatever unexpected error or output you're getting. Be sure to redact any access token or refresh token though.
  • The listFolder functionality does not guarantee a particular ordering or offer options for controlling the order of the returned entries. You should retrieve all of the entries and then apply whatever sorting you want client-side.
  • No, the listFolder functionality doesn't support partial matching like that. You would need to list the nearest parent folder and then apply whatever filtering you want on the results client-side.
  • The Dropbox API search functionality is not always guaranteed to completely/immediately return results, especially when changes are actively being made, due to indexing and caching. That being the case, for a scenario like this, I recommend using listFolder/listFolderBuilder and listFolderContinue instead as that…
  • Thanks, your API support ticket has been received. We'll look into it.
  • Thanks for following up. I can't seem to reproduce this issue though. In the broken case, is "https://www.dropbox.com/oauth2/authorize" definitely the full URL of the page? The browser may be hiding the rest of it. I wouldn't expect the app name and permissions to be shown there if there is no client_id parameter set. In…
  • The files_upload method is the right way to use the Dropbox API via the Python SDK to send some file data to the Dropbox servers and save it as a file in the connected Dropbox account. (Note that it only supports files up to 150 MB in size; for larger files, use upload sessions.)
  • To clarify, is "https://www.dropbox.com/oauth2/authorize" the full URL of the page where this stops, or are there also more parameters on that? Please share the full URL if there is more to it. If you can also share the URL before processing the Google Sign in flow that may be helpful. Feel free to open an API ticket here…
  • Thanks, can you share several sample 'X-Dropbox-Request-Id' response header values though?
  • Yes, there are a few ways you can navigate and determine the relevant namespace IDs without using team endpoints. For accounts with a team space, you can check /2/users/get_current_account to get the 'root_namespace_id'. Check out the Team Files Guide for information on that. For accounts without a team space, you can list…
  • Yes, even when an app is not connected to a team itself (i.e., it's not authorized by a team admin to access the Business API functionality), the app can still use the standard Dropbox API functionality to access any files/folders in the account, including the contents of any team folders/space (as long as it isn't…
  • Can you elaborate on what issue(s) you're running in to exactly? The account/plan type doesn't affect what files can be accessed in a particular account via a third party app. The code you shared uses the "Dropbox Chooser", which is a pre-built component that developers can use to allow end-users to select any file(s) in…
  • A 500 error like that should indicate an issue on the Dropbox servers. If you're still seeing this issue, please share the code/steps to reproduce that, as well as several sample 'X-Dropbox-Request-Id' response header values. That should help us investigate. (Be sure to redact your access token though.) Thanks!
  • Adding on to what Здравко said, the following links may be helpful: * https://developers.dropbox.com/oauth-guide * https://developers.dropbox.com/dbx-file-access-guide * https://developers.dropbox.com/detecting-changes-guide * https://www.dropbox.com/developers/reference/webhooks Also, Dropbox doesn't offer a way to get…
  • This is indicating that this particular request can't be supported either due to constraints on the backend, or because of the state of the relevant folders. For instance, the specified folder may be located too deep in the directory tree to support this feature, or otherwise the folder may be contained inside another…
  • I'm closing this as a duplicate of your other thread.
  • When the returned RelocationBatchV2JobStatus is 'complete', it will contain a RelocationBatchV2Result with a list of RelocationBatchResultEntry as the 'entries' property. Each RelocationBatchResultEntry will be either 'success' or 'failure', indicating the result for that particular file. This list corresponds to the files…
  • If there are multiple changes at the same time in the same account or shared folder, you can run in to this 'too_many_write_operations' error, which is "lock contention". That's not explicit rate limiting, but rather a result of how Dropbox works on the backend. This is a technical inability to make a modification in the…
  • 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…
  • No, unfortunately the Dropbox API doesn't offer that ability, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • The error message "Dropbox token is empty" isn't from Dropbox itself, so it sounds like this is an error message written by Linnworks. That being the case, Linnworks will need to provide some guidance on that. If they have found an issue with the Dropbox API itself, they should contact us directly with the relevant…
  • The events returned by /2/team_log/get_events[/continue] unfortunately do not include a unique ID like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • The "<oauth2_access_token>" there is just a placeholder, and should be replaced with the actual OAuth 2 access token for the account. From the error message, it sounds like you're sending an invalid value for that (either the placeholder itself, or an invalid access token string). You should check what you're actually…
  • The extension will only appear in the "Open" menu for other users that have "linked" or authorized the app to access their own accounts via the OAuth flow. (Just accessing the extension URI itself directly won't do so.) You'll need to implement the OAuth flow in your app to allow other users to authorize the app to access…
  • Unfortunately Dropbox still doesn't offer an API for accessing file comments. I'll add this to the feature request, but I don't have any timeline as to if/when it might be done, or any other workaround.
  • 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 and tutorials, here: https://www.dropbox.com/developers You may be interested in the Getting Started guide:…