Comments
-
@"RTS S." I see, thanks for clarifying and providing the sample. In this case, based on this error, it sounds like you have a shared link from a different user than the one that the access token is for. That being the case, you can't directly access the file via ID, since it isn't in the authorized user's account. Instead,…
-
Thanks! I just tried this, and I can't seem to reproduce this issue with this code though. Are you sure the first call is succeeding? I don't see any error handling in this snippet. Also, how are you copying $new_cursor to $cursor? I don't see that in this sample either. Are you sure that's working properly?
-
@"RTS S." Both /2/files/list_folder and /2/files/download support both file IDs and paths. (You can check the supported formats in the documentation for the 'path' value.) So, for instance when calling /2/files/list_folder, you can supply the 'path' parameter containing either the 'id' of the folder you want to list, or…
-
We'll be happy to help with this, but need some more information. Please reply with: - the name and version of the platform and SDK/library you are using, if any - the steps to reproduce the problem, including the relevant code snippet(s) - the full text of any unexpected output/errors Thanks in advance! If you'd prefer to…
-
No, there isn't another way to set the title like that, but I'll pass this along as a feature request.
-
Thanks for the detailed feedback!
-
The Dropbox Chooser unfortunately does not provide access to Paper documents, but I'll pass this along as a feature request. If you need programmatic access to Paper documents, you'll need to use the Dropbox API instead: https://www.dropbox.com/developers/documentation/http/documentation#paper That's a link to the…
-
@"martinjuniqe" Is that the actual/full output you get? There should be more useful information in the response body for that 400 error (not "nothing"). You can check your app type(s) on the App Console. Any apps with the "Full Dropbox" or "App folder" permissions are "user-linked". Any apps with a "Team" permission are…
-
1. No, folders can only have one owner at a time. 2. No, you cannot remove the last admin on a team. Attempting to do so will result in the 'remove_last_admin' error. 3. Yes, if your app has the "team member management" or "team member file access" permission, you can register for and receive Business webhook…
-
@"kanak" Per the documentation, the Dropbox OAuth 2 app authorization flow should only be processed via the system browser now.
-
The amount of time between your calls to /list_folder[/continue] doesn't matter. The server will always return the entries necessary to make sure you get an accurate state based on the cursor you provide, as long as you process the entries as documented.
-
When creating Paper documents using the API, the first line of the provided document data will be used as the document title, so make sure the first line is what you want the document title to be.
-
@"newacc1" Thanks for trying that and letting me know!
-
@"Jaryn" I don't have an update or timeline for this from the team yet, nor a workaround unfortunately. This is already open with engineering so you don't need to file it on GitHub as well. The "Known Issues" list you referred to is for end-users of the Dropbox product itself, not developers using the Dropbox API. I'll…
-
Your StackOverflow link is returning "Page Not Found". Do you still need help with this? For reference, that '.../apitl/..' link that you generated is a temporary link that points directly to the file content. That lasts for four hours after it's created. If you have that, during those four hours you can download the file…
-
Note that per the documentation: "The default 'team_sharing_policy' can be changed only by teams, omit this field for personal accounts." Are you on a team account? If not, remove that parameter and try again.
-
When creating Paper documents using the API, the first line of the provided document data will be used as the document title, so make sure the first line is what you want the document title to be.
-
Thanks for the report! We're looking into it.
-
It sounds like you’re experiencing an issue with a third party application. We can't offer help with configuring/troubleshooting that unfortunately, as it's made by a third party. Please reach out to the support organization for that app for help. If the developers of this app are having any trouble with the Dropbox API…
-
DeletedMetadata objects don't "expire" exactly, but whether or not old ones would still be returned (e.g., when calling files_list_folder/files_list_folder_continue again) after a significant period of time depends on a few specifics, based on the particular account's features, file activity, and some specifics of how the…
-
@"Splinter" Can you share the code you're using to reproduce this, and the output you're getting? I just tried to reproduce this and /download is returning the same datetime I'm supplying to /upload in a simple test: curl -vX POST https://content.dropboxapi.com/2/files/upload \ --header 'Authorization: Bearer…
-
It sounds like for what you're trying to do, the basic outline would look like this: * Call /2/team/members/list[/continue] or /2/team/members/get_info to get the team member's information, such as their member ID, if you don't already have it. * Call /2/users/get_current_account with Dropbox-API-Select-User containing the…
-
Using /2/files/get_thumbnail as you're doing here is the correct way to retrieve a thumbnail for a file from the Dropbox API. Per the documentation, you can specify a 'format' parameter to request either 'jpeg' or 'png' for the format of the thumbnail. You're not specifying that, so you'll get the default of 'jpeg'. This…
-
@"searchx" It sounds like the team probably uses the "team space" configuration, so the team folders aren't mounted inside the member's own folder. You'll need to use the "Dropbox-API-Path-Root" header to identify the team space in that case. The Namespace Guide goes over this in detail:…
-
To list shared folders, you can use DbxUserSharingRequests.listFolders/listFoldersContinue. I just shared some information about FileSharingInfo in your other thread. We don't have a sample to share for these unfortunately. Please try writing the code you need per the documentation and let us know if something isn't…
-
Yes, when you get the FileMetadata for a file, e.g., in the response from DbxUserFilesRequests.listFolder/listFolderContinue, you can use FileMetadata.getSharingInfo to get the FileSharingInfo. On that, you can use FileSharingInfo.getModifiedBy to get the account ID of the user that modified it. You can then use getAccount…
-
@"RichardTSchaefe" The list_folder endpoint unfortunately doesn't support "app authentication" (i.e., so no user access token is required), only "user authentication" (where a user access token is required), so I'm afraid I don't have a good solution for this use case. I'm sending this along as a feature request.
-
Thanks for the report! That should be working again now. Please try and let me know.
-
You appear to be trying to read the entirety of the contents into memory, which is likely to fail for large files like this. You'll probably want to use GetContentAsStreamAsync in the SDK (instead of GetContentAsByteArrayAsync), so you can access the contents via a stream, instead of reading it all into memory:…
-
This appears to be a duplicate, so I'll close this and follow up on the original: https://www.dropboxforum.com/t5/API-Support-Feedback/Large-File-Download/m-p/281126#M17183