Greg-DB Dropbox Community Moderator

Comments

  • Thanks, that's helpful. We'll look into it and I'll follow up here once I have an update on this.
  • @"b_brown" If you're using the Dropbox Python SDK, the request ID should be shown when printing out the InternalServerError. Can you share a few samples of that so we can check on that for you? Thanks!
  • @"b_brown" Since you're getting a different error code, this would likely be a different issue and the solution may also be different. I've split your message out to its own thread accordingly. So that we can make sure to check on what you're seeing specifically, can you share several 'X-Dropbox-Request-Id' response header…
  • You don't actually need team scopes to access files/folders from the team as long as the connected account has access to those file/folders. An app with the "full Dropbox" access type can access anything that the connected account can access. So, for example, if your own account has access to the contents of a team folder,…
  • It sounds like you're referring to getting an error like "You must be a team administrator to authorize this app". This error occurs when the user attempts to connect an app with any "team" scopes but the user isn't a team admin. The "team" functionality can only be used by Dropbox teams, and can only be authorized by…
  • @"tcnolan7" Здравко is correct; it is possible to implement functionality like this using the Dropbox API, but it would be substantially more work. For instance, you could use the API from your server to call /2/files/list_folder[/continue] to list files/folders, and /2/files/download to download file content, and then…
  • Thanks for following up, however I'm having some trouble understanding your messages. Are you getting any actual error or unexpected output from sharing_list_shared_links in particular? For instance, you said "From the Application exception: (didn't find the sharing_list_shared_links nor it couldn't create it.", but that…
  • The /2/team/members/add_v2 endpoint allows you to add a member to your team (creating a new account for them as needed), but only as long as you have a license available on your team. If you have no more licenses available on your team, the call would fail with a 'team_license_limit' error. The Dropbox API does not offer a…
  • Thanks, that's helpful. I just checked on this more specifically for you, and it looks like in this case that workaround unfortunately won't actually help. (There are a few variables at play here; apologies for the trouble.) In any case I've raised this with the team and I'll follow up once I have an update on the issue.
  • Do you have a sample page with the view link I can try so I can look into this specifically for you? Feel free to open an API ticket here if you'd prefer to share privately. Thanks!
  • Thanks for the report! We'll look into it.
  • First, please switch to sharing_list_shared_links instead of sharing_get_shared_links (since the latter is deprecated). The code for reading the URLs would work the same way. If you're still seeing an issue when using sharing_list_shared_links, please let me know exactly how sharing_list_shared_links is failing for you…
  • Thanks for the report! This is currently an issue when using the Dropbox Embedder with an "edit" link. To avoid this issue, please switch to using a "view" link instead.
  • Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by requesting "offline" access…
  • @"YanivB" Здравко is correct; even for your own account, you will need to get a refresh token to maintain long-term access. Check out the Android example they mentioned, and in particular use the startOAuth2PKCE method to start the authorization flow.
  • I'm not sure I understand your latest message. If something isn't working properly, I'll be happy to help, but I'd need some more information. In that case, 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…
  • Some but not all older teams have been migrated to use a team space, so some teams do not have a team space and will return multiple team folders in that list. You can find information on using the different configurations via the API in the Team Files Guide.
  • The sharing_get_shared_links method returns a GetSharedLinksResult object which contains a 'links' field which is a list of LinkMetadata; on each of those you can access the 'url' field to get the URL. So, the code to print out each URL would look like this: for link in shared_link_metadata.links: print(link.url) By the…
  • It sounds like that's occurring on the 'open' call for your local filesystem, not a Dropbox API call itself. Make sure you're providing the right 'local_file_path' and have permission to the specified path. By the way, files_download returns a tuple, not a single object. You can find an example here and the documentation…
  • No, Dropbox does not have plans to support webviews for the app authorization flow, and accordingly we cannot provide any specific webview versions that are expected to work.
  • Thanks for the report. Dropbox does not support using the Dropbox /oauth2/authorize page in web views though. Please update your app to use a supported system web browser. If you're still seeing this issue with a supported system web browser, please let us know.
  • Thanks for the report. I'll be happy to help with any questions or issues you have regarding the Dropbox API, but I'll need some more information. Please reply with: * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s); please also show the parameter…
  • That text is expected to be shown on the https://www.dropbox.com/developers/apps/info/<APPKEY>#permissions page; it is not an error in response to something you're doing. It's an informational warning indicating that a certain combination of functionality is not supported, and that OpenID scopes need to be requested…
  • The text in your post appears to be from the "Permissions" tab of the app configuration page on the App Console. I'll be happy to help with any questions or issues you have regarding 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…
  • That's correct, the /2/files/download_zip endpoint was just designed as a way to enable apps to download entire folders at once, as opposed to individual files; it doesn't apply compression to optimize the amount of data that needs to be transferred overall. There isn't an option for requesting actual compression, but I'll…
  • 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 back-end. This is a technical inability to make a modification in the…
  • Did you click "Submit" in the bar at the bottom of the Permissions page after enabling the scope? That's necessary to save the changes. Note that if you haven't dismissed the cookies notification at the bottom, it may be obscuring the "Submit" button, so be sure to do that first.
  • @"squidlauncher64" I see Здравко helpfully offered insight on the issue. As for your other questions, no, the Dropbox SDK wouldn't improve the performance; it uses the same API endpoints. It's just meant to make it easier for you to interact with the API, but it's not necessary. It also wouldn't save the data somewhere for…
  • The file data would be in the response body, but not necessarily in a variable named 'response.body'. Exactly how you access it will depend on the network client you're using. In this case, I see you're using 'fetch' as your network client, so I suggest referring to the fetch documentation I linked to in my previous…
  • I don't believe we have sample code for DeleteBatchAsync in particular unfortunately, but you should poll DeleteBatchCheckAsync to see when the job is done. Refer to the documentation linked there for more information. By the way, it looks like you mixed up DeleteBatchAsync with DeleteV2Async or MoveBatchV2Async; there's…