Comments
-
Thanks for the detailed report! We'll look into it.
-
@"kir_ko" These properties, such as LinkPermissions.RequirePassword, should now be available in the SDK as of v6.10.2.
-
[Cross-linking for reference: https://stackoverflow.com/questions/68294541/dropbox-api-filemetadata-how-to-determine-a-file-is-a-new-file-added-to-dropbo ] Without comparing with your previously retrieved metadata for the file (i.e., to see if there was any), the Dropbox Metadata information doesn't offer a way to…
-
Based on the error message, it looks like the HTTP request may have been malformed, causing the call to fail. I see you're supplying an empty 'Content-Type:', but that may not be the cause. I just tried this code myself, plugging in my own test access token and path, and it worked for me. Can you check that your…
-
Thanks for the feedback!
-
There isn't a way to have the API itself automatically perform logic and additional calls for you like this. The /2/sharing/create_shared_link_with_settings and /2/sharing/list_shared_links routes are distinct endpoints on the Dropbox API, and each require their own request from the API client (i.e., the code calling the…
-
What error(s) are you getting? You should check the HTTPS response body for the error information. Also, you should revoke that access token, since you posted it publicly.
-
That link was for Dropbox API v1, which has been retired. You should use Dropbox API v2 now. You can find everything you need to get started with Dropbox API v2 here. For reference, the API v2 equivalent of that API v1 "longpoll-delta" endpoint is /2/files/list_folder/longpoll.
-
No, whether you're using the OAuth flow to request a long-lived access token or a short-lived access token/optional refresh token, the user needs to manually authorize the app, and they need to be logged in to Dropbox to do so. If they are not already logged in, they will be prompted to log in before they can choose to…
-
The Dropbox API does not offer a way to configure automatic deletions like this, nor does it offer a way to specify a wildcard like that or otherwise just delete everything in a particular folder without deleting the folder itself, but I'll pass this along as a feature request. I can't promise if or when that might be…
-
Exactly how you interact with Paper docs via the API for any particular account will depend on what version of Paper that account is configured to use. Please refer to the Paper Migration Guide for information on the two versions and what endpoints you should use for each. Once you've done so, if you're still having any…
-
I can't help with FileMaker Pro itself as that's not made by Dropbox, but I'll try to offer whatever guidance I can on the Dropbox side of things. If you want to create a shared link for any particular file or folder, calling /2/sharing/create_shared_link_with_settings is the correct way to do so. Note though that this…
-
The uploadBuilder method should only be used for uploading files smaller than 150 MB. For larger files, you need to use upload sessions. Please refer to the documentation for more information. You can find example code here.
-
@"mplusplus" Selecting "Full Dropbox" is the right choice in this case. That covers all folders, including team folders. Check out the File Access Guide and Team Files Guide for information on how to interact with the Dropbox filesystem via the API.
-
Thanks! That does show the raw PDF data, indicating that the Dropbox API call itself did succeed and return the file data. That being the case, it looks like the issue here is with writing that data to the local filesystem. As that's not related to the Dropbox API itself, I'm afraid I can't offer much help with that.…
-
@"Steve J.5" Thanks for the feedback! I'll pass this along to the team.
-
This shows your request headers and code, but not the response headers or body. Can you inspect the response headers/body? Also, do not post your access token, since it enables access to your account. You should revoke it since you've posted it publicly.
-
What about the rest of the response? What's in the headers and body?
-
First, can you confirm that the "/test/BackcardHTTPS.pdf" file on Dropbox itself is not empty and does contain the expected data? Then, can you inspect the API response? Check the status code; if it's not 200, then the call failed for some reason. You should also check the response headers for metadata, and response body…
-
We've extended this migration to ensure a smooth experience for all, and will keep the legacy Paper API available until the migration is done for everyone. You can find the latest information in the Paper Migration Guide.
-
IDs that start with "dbmid:" are "team member IDs", often named "team_member_id" on the API. There are a number of ways you can retrieve that via the API, such as by calling /2/team/members/list_v2[/continue], to list all team members, or /2/team/members/get_info_v2, to look up a specific team member. Those are…
-
@"raRaRa" First, for reference, note that performing a refresh does not itself invalidate any previous short-lived access tokens for that refresh token, or any temporary links created using those previous short-lived access tokens. However, due to how temporary links are implemented, they are reliant on the validity of the…
-
@"Edis" Yes, I'm working on getting an update on this.
-
Another option is to use the Dropbox API to download the file, such as via /2/files/download. That would be more work to integrate than the Dropbox Chooser, and would not necessarily offer better performance.
-
Thanks for the report! We'll look into it.
-
Yes, if you need to be able to read and delete files, you can register a Full Dropbox app with the "files.content.read" and "files.content.write" scopes. The "files.content.write" scope lets you both write and delete files. The "files.permanent_delete" scope is only needed for permanently deleting files, not just deleting…
-
According to the release history, the first release of the Dropbox Java SDK with the short-lived tokens functionality was v3.1.0. The last one before that was v3.0.11.
-
There isn't a way to simply speed up these connections. Your connection speed to Dropbox depends on the routing you get between your ISP and our servers, and may be slower than your ISP's rated speeds. Sometimes resetting or retrying your connection gets you a different route and better speeds, but that is outside of our…
-
@"mitko-slapdash" I don't have any news on this right now.
-
I see you're making the second ListFileMembersAsync call like this: userClient.Sharing.ListFileMembersAsync(fileMembers.Cursor) However, to retrieve more results via the cursor, you should actually call ListFileMembersContinueAsync, not ListFileMembersAsync.