Comments
-
@"MarceloC" No, unfortunately support for Range requests still hasn't been implemented in the Dropbox API v2 Python SDK.
-
@"lades" I'll be happy to take a look, but I'll need some more information. Can you share the requests/responses for this? Please be sure to redact your access token though. You mentioned "attached files" but I don't see anything attached. Feel free to open an API ticket if you'd prefer to share privately. Thanks!
-
Thanks for the report! Can you please open this as a ticket? This is about the iOS app/document picker integration and not the Dropbox API itself, so I'll redirect it to the right people internally.
-
This appears to be a duplicate of your latest question in your earlier thread. I've already replied there, so I'm closing this one in favor of the earlier thread.
-
You can use the /2/sharing/list_folder_members[/continue] (or corresponding native methods if you're using an SDK) to list the users, groups, and invitees for a particular namespace/shared folder.
-
@"Dotmax" Thanks for the additional feedback!
-
Please do not share your access token. I've redacted it from your previous post, but for the sake of security, you should disable that access token since you shared it publicly. You can do so by revoking access to the app entirely, if the access token is for your account, here. Or, you can disable just that access token…
-
You can catch that not_folder error directly from the listFolder call to detect and handle that. If you do wish to make another call to check it first though, you can do so by calling getMetadata and checking the subtype of the returned Metadata.
-
It looks like you're running in to a few different issues, some of which aren't about the Dropbox API/SDK in particular, but I'll offer what help I can. NSData *fileData = [@"file data example" dataUsingEncoding:NSUTF8StringEncoding allowLossyConversation:NO]; ****error#1: No visible @interface for 'NSString' declares the…
-
We don't have specific numbers documented for the general rate limiting system. Please write your app to catch and handle any rate limit responses as described above. The rate limiting system and parameters are subject to change, so this strategy is preferred as it produces a more dynamic way of handling rate limiting, as…
-
There are a few things that may result in missing results from the search functionality on the Dropbox API like this. First, note that if you are searching for new changes, they may not be returned due to a delay from indexing. If you wait and try again later, it may be returned. Also, the interface is paginated, so if the…
-
The Dropbox API does have a general rate limiting system. It operates on a per-user account basis, not per-IP address. Also note that not all 429s and 503s indicate explicit rate limiting, but in any case that you get a 429 or 503 the best practice is to retry the request, respecting the Retry-After header if given in the…
-
@"VictorNemiro" In your screenshot, I see you're setting the "Dropbox-API-Select-Admin" header value to "Whole Team", but you should actually be setting it to the relevant team member ID value. "Whole Team" is one of the two modes supported by the Dropbox-API-Select-Admin header, but it isn't something you as the caller…
-
Yes, there are a few options here, depending on exactly what you're looking for. I've illustrated and commented on them in code: // get the name of the parent shared folder, if any // note that the parent shared folder is not necessarily the immediate parent folder of the item if (item.ParentSharedFolderId != null) {…
-
Yes, you can supply the shared link to GetSharedLinkMetadataAsync to get the SharedLinkMetadata.PathLower value back. (The access token needs to be for the same account as the one that owns the shared link. Otherwise, the value won't be present.)
-
As Здравко mentioned, /2/files/list_folder/continue will behave according to the parameters used on the initial call to /2/files/list_folder for the used cursor. It's not possible to change the parameters on an existing cursor. If you want to receive nested entries, you'll need to set 'recursive:true' on the…
-
This issue isn't reproducing for me. It's possible there's some other condition necessary to reproduce this. Can you share the code you're using to reproduce this, as well as some sample "X-Dropbox-Request-Id" response header values for these errors? That would help us investigate. Please don't post your access token…
-
The Dropbox API doesn't offer a way to get a download link that uses the web site authentication quite like you describe, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
[Cross-linking for reference: https://stackoverflow.com/questions/59272078/dropbox-api-how-to-see-each-team-members-folder-permissions#59272078 ] When you list files and folders using FilesUserRoutes.ListFolderAsync like this, you're listing the contents of the member's Dropbox folder, which will include both shared…
-
The ListFolderResult.entries returned by files_list_folder is a 'list' so you can use Python's 'len' function to get its length, like this: print(len(dbx.files_list_folder('/myfolder').entries)) Please note though that you're not guaranteed to get all of the files/folders in a particular folder back in a single call…
-
Using the ListFolderMembersAsync and ListFolderMembersContinueAsync methods should let you list all of the members of a shared folder, whether or not they are also members of the same team as you. Note though that this list is paginated, and you're not guaranteed to get all results back on one page. If the…
-
You can find information on how to add or "mount" a shared folder in your account using the Dropbox web UI in this help article: https://help.dropbox.com/files-folders/share/add-shared-folder On https://www.dropbox.com/share/folders , folders that are listed as "Not added" are not currently added or "mounted" in the…
-
If you're new to the Dropbox API, I recommend reading the Getting Started guide: https://www.dropbox.com/developers/reference/getting-started To create a shared link for any particular file or folder, you would use the /2/sharing/create_shared_link_with_settings endpoint:…
-
This error message indicates that the access token you're using isn't of the expected format. You appear to be storing your access token in that "dropbox_access_token" field. To be clear though, you've redacted it for this forum post, correct? (If not, note that attempting to just uses the 'x's will fail. You need to…
-
Yes, that's right. That would use the user's folder, if they're not on a team with a team space, or the team space folder, if they are on a team with the team space. Also, note you can use initWithRoot if you do intend to access the root and want verification mentioned under the "Root" part of the "Dropbox-API-Path-Root…
-
Thanks for the report! It looks like this is failing because you're missing the 'response_type' parameter. You can find more information on the parameters in the documentation for /oauth2/authorize. We support "token" and "code" as the values for 'response_type', so for example you might use one of these: *…
-
If you just want to be able to access files and folders in their "team space", you don't need to register a "Dropbox Business API" app or use the "teamRoutes". (That's for accessing functionality specific to managing Dropbox Business teams, e.g., adding or removing members.) You can use your existing "Dropbox API" app with…
-
@"Здравко" Thanks for the additional note and information!
-
@"Chhavi" That is the file data for the requested file returned by the Dropbox API. The /2/files/download endpoint is a "content-download" style endpoint, meaning it returns the requested content in the HTTPS response body. You can use or save the response body however you wish. Exactly how you do so will depend on what…
-
It sounds like you're referring to shared folders that have been shared with the account, but which have not yet been added or "mounted" in the account. The SharingUserRoutes.ListFolders and SharingUserRoutes.ListFoldersContinue methods will list all of the shared folders the user has access to, whether or not the folders…