Greg-DB Dropbox Community Moderator

Comments

  • @"dean_m" The activity log in that workspace doesn't show any recent changes. Can you let me know specifically what you're looking for? If you have any specific questions or issues regarding the Dropbox API I'll be happy to help directly. Feel free to start a thread with the details of any particular Dropbox API question…
  • I see you are using the official Dropbox Python SDK to do the upload work, but are attempting to perform the refresh process yourself using 'requests' to call the /oauth2/token endpoint directly. The official Dropbox Python SDK can handle the refresh process for you automatically though, and I strongly recommend having it…
  • Thanks for following up. I'm glad to hear you got that solved.
  • I don't believe we have sample code for these in particular, but you can call those methods much the same way as you would call createSharedLinkWithSettings, and get the information from the response object. Note that the folder sharing operation may run asynchronously though. If successful, the shareFolder response will…
  • We can't offer support for the third party browsers or libraries themselves, as they're not made by Dropbox, so you may need to debug that to see what code/conditions trigger that getAuthenticationUrl/launchWebAuthFlow code path to run. As for the Dropbox side of things, I see you are setting tokenAccessType to offline in…
  • No, use of the Dropbox API itself is free. As the developer of the app, you do not need to pay anything. It is only if the owners of any individual (or group of) accounts want to upgrade is there cost involved. You can see more information on pricing and plans here for reference.
  • A 'missing_scope' error indicates that while the app is permitted to use that scope, the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens (or…
  • Please note that when calling /oauth2/token, you should not include an access token. The /oauth2/token endpoint can be used to exchange an authorization code for an access token and optional refresh token, or to use a refresh token to get a new access token. It does not itself expect or accept an access token as input.…
  • This error message is indicating that the request contained both an "Authorization" header as well as the client_id and/or client_secret parameter. While Dropbox accepts the app key and secret in either, you should only use one or the other. That is, the request needs to contain either only the "Authorization" header or…
  • Dropbox does offer an API you can use for listing, uploading, and downloading files to/from connected end-user Dropbox accounts, 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 The following…
  • You can use createSharedLinkWithSettings to create a shared link to any file or folder to allow access to view that file or folder, but to enable other people to make changes in a folder, you should share the folder itself. You can use shareFolder and addFolderMember to do so. You can find more information in the Sharing…
  • @"stoane" To clarify, are the end-user or developer of a third party app? If you're not the developer of the app, you'll need to reach out to the developer for help with it. If you are the developer, please share the details of the issue you're seeing with the Dropbox API/SDK.
  • No, the Dropbox API doesn't offer an option for restricting search results like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • @"FormtoolOffice" Здравко is correct. The information from the developers is out of date. To elaborate and clarify, there have been three different ways an app may have worked at various points: * long-lived access tokens: Apps previously could have the user authorize the app to receive a long-lived access token that could…
  • The OAuth process where the user chooses to authorize the app and the app then receives the resulting access token and optional refresh token does require manual interaction, but this only needs to be done once per Dropbox account. If your app needs to maintain long-term access without the user manually re-authorizing it…
  • It sounds like the makers of Empower haven't implemented support for "refresh tokens" and so the app is only using "short-lived access tokens", which expire after a few hours. The developers of the app will need to update it accordingly to maintain long-term access on new authorizations. You may want to reach out to them…
  • @"tkirby926" Здравко is correct. The Dropbox API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. While it is technically possible to always connect to just one account for all users, we do not officially support this, for various technical and…
  • @"EthanW" A 'path/not_found' error indicates that there was nothing found in the specified account under the relevant root at the specified path. There are a number of ways you may end up with this error. For example, you may just have a typo in the path value, or may be connected to the wrong account, etc. The Getting…
  • You don't need any special kind of account to create an app; any kind of account can do so. I just gave it a try, and it is working for me. The "Create app" button gets enabled once I select scoped access, pick an access type, enter an app name, and check the checkbox to agree to the terms (if not previously done on the…
  • Thanks for the feedback! As Здравко said, there may some ways to optimize your call pattern, but it would very much depend on your particular scenario, and it sounds like you have certain design constraints to accommodate. As for the Dropbox API itself, you're already using the right endpoints. The…
  • Some API objects/fields are re-used in the API specification, and are not returned in every case or from every endpoint. The 'preview_url' is available for shared items, and can be retrieved from the sharing endpoints such as /2/sharing/get_folder_metadata for shared folders and /2/sharing/get_file_metadata for…
  • Other types of namespaces like that aren't specific to a single team member. Shared folders have multiple members (and the owner can change over time), for instance, and team folders are owned by the team. And that's correct, /2/sharing/list_file_members/batch does work differently than /2/sharing/list_file_members. Refer…
  • @"EthanW" No, I don't have an update on this. Thanks for the feedback!
  • For team member folders, the /2/team/namespaces/list and /2/team/namespaces/list/continue results include the relevant team_member_id in the NamespaceMetadata object. For shared folders, you can still use /2/sharing/list_folder_members and /2/sharing/list_folder_members/continue to list the shared folder's members and…
  • [Cross-linking for reference: https://stackoverflow.com/questions/74813769/retrieve-thousands-of-files-and-folders-without-throttling ] It sounds like you have the right idea here, though be sure to use batch options/endpoints whenever possible. For instance, use recursive:true on /2/files/list_folder and then page through…
  • @"Cinelist" As Здравко indicated, Dropbox does not offer the ability to grant an app/access token access to specific existing folder(s) only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The Dropbox API currently offers two levels of file/folder access: "app…
  • @"shivanitanwar" The /2/files/download endpoint is still the right way to download file content from the Dropbox API. (By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS…
  • @"vas92" As Здравко mentioned, it sounds like you have one or more "team" scopes enabled on the app you're attempting to connect. The "team" scopes enable access to Dropbox team-specific functionality, and so can only be authorized by Dropbox team admins. If your account is not on a Dropbox team, you won't be able to…
  • Thanks for following up. Unfortunately as that library is not made by Dropbox, we cannot provide support for it. You may want to refer to the documentation or support resources for that library for help using it. If something is not working as expected on the Dropbox API itself, such as with the Dropbox OAuth app…
  • Update: the API does now support a "concurrent" upload session mode. Check out the documentation for more info: https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start