Comments
-
Note that the requests are performed asynchronously, and from the sessionDeinitialized error it sounds like your client object was released (and accordingly the underlying session was deinitialized) before the request could be completed; to fix that you'd need to update your code to keep that client object around while the…
-
@"developerscorpio" Здравко is correct; for more information on accessing the contents of the team space, refer to the Team Files Guide.
-
@"Zard" As Здравко noted, you can find an example of getting the information from the URL in that example in the SDK. The "token" flow is no longer recommended in general though, in favor of the "code" flow, using PKCE for client-side apps, such as shown in this PKCE example in the Dropbox JavaScript SDK. You can find more…
-
@"AngelaM1" There's currently a Dropbox server disruption causing this to fail to load. The team is working on resolving this.
-
Thanks for the note! I'll pass this along to the team.
-
The team is currently working on resolving the disruption.
-
We're looking into this issue and I'll follow up here once I have news. Thanks!
-
For /2/sharing/list_folders[/continue], the 'cursor' in the response is an optional value and is only returned "if there are additional shared folders that have not been returned yet", so it will not be set if there are no more entries to return. Unfortunately, it's not suitable for monitoring for such changes over time…
-
@"white1" Thanks for the report. As Rich and Здравко said, this error would occur because the user's account is currently banned from creating links, and note that that applies to the user account for the access token being used, which is not necessarily your own account. And it appears the Dropbox Python SDK is not…
-
@"developerscorpio" From your description, it sounds like you have a user-linked access token, but are trying to access a team-linked endpoint. Team-linked endpoints require a team-linked access token, in order to operate on the team itself. To get a team-linked access token, you would need to connect the app with the…
-
@"CASU" As Здравко said, please share the information about what isn't working as expected for you. For instance, include relevant error messages, etc. Be sure to always check the response body for your API calls, as it may contain an error message. Also, note that using "dl.dropboxusercontent.com" in shared links is not…
-
I can't offer more information or a guarantee beyond what's included in the documentation for the endpoint. Please refer to that for information on what information/behavior to rely on for the endpoint.
-
@"southpaw3229" Здравко is correct; you need to click "Submit" on the "Permissions" tab (not the "Branding" tab) to save the changes. Also, make sure you've dismissed the cookie consent banner at the bottom of the screen, as it can obscure those buttons.
-
Thanks for following up and clarifying. The behavior of "use that cursor to call /groups/members/list/continue, it returns the same list even if there hasn't been any changes" doesn't sound like the expected behavior. It looks like that's a bug on these /2/team/groups/list/continue and /2/team/groups/members/list/continue…
-
@"Takashi Homma" Yes, additionally note that some teams currently have a team space, and some don't. Make sure to read through the Team Files Guide to understand how the different configurations work. Also, note that there may be multiple reasons an endpoint would return a 409, so always check the error in the response…
-
Unfortunately I don't have any specific guidance to offer for if/how it might be possible to build that directly, as that is not officially documented or supported. (And the details normally handled automatically by the script may be subject to change without notice.)
-
Thanks for the feedback! Dropbox doesn't offer an option or alternative like this, such as using just an iframe directly, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
This is the expected behavior for /2/sharing/list_file_members/batch; groups are not returned by this endpoint. Refer to the /2/sharing/list_file_members/batch documentation for a note about this. To get group information, you'd need to use /2/sharing/list_file_members instead.
-
Please note that undocumented endpoints are not meant for third party use, and are subject to change without notice.
-
@"daynightdev" Здравко is correct; when you get a 429, the best practice is to retry the request, respecting the Retry-After header if given in the response, or using an exponential back-off, if not. I recommend referring to the error documentation and Error Handling Guide for more information. The Dropbox API does not…
-
@"asierdo" That's correct, the client does not need its own certificate to download files from the Dropbox API. The Dropbox API servers have certificates, and third party clients connect to those Dropbox servers.
-
To create a folder, you would use the /2/files/create_folder_v2 endpoint (or corresponding method in an SDK). That's a user-endpoint, not a team endpoint. Note that by default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, you can…
-
If the files are in one or a few folders, you can use filesDownloadZip to download the entire folder(s) and unzip them locally, instead of downloading each file individually. Otherwise, you may want to try running several filesDownload calls at a time in parallel, if you aren't already.
-
Yes, to get information about a specific item, you would use /2/files/get_metadata.
-
Paper docs in the "Migrated Paper Docs" folder would be .paper files, which would need to be exported instead of downloaded, so files_export_to_file (or files_export) would be the right method to use. A "not_found" Dropbox API error indicates that the API call failed because there was nothing currently found at the…
-
I'm not sure I quite follow your latest post. Using team_groups_list and team_groups_list_continue is the right way to list the groups on a team, and using team_groups_members_list and team_groups_members_list_continue is the right way to list the members of a group, but "team_members_get_info_continue" isn't a Dropbox API…
-
@"cmpl2022" Здравко is correct; you should use refresh tokens for long-term access, whether for your own account or for other users. You can find more information at the following links: * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization *…
-
I'm not aware of any such plans currently, but I'll pass this along as a feature request. I can't promise if or when that might be implemented.
-
I'm not sure I fully understand all of your questions, so feel free to follow up and clarify. I've also split out your message here to a new thread so as not to bother the members of the old thread. It's not possible to get an authorization code without processing the app authorization flow. The user needs to authorize the…
-
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…