Comments
-
@"bffy_smmmers" In browser contexts, you should access the file data using fileBlob like in this example. In node contexts, you should use fileBinary instead, like in this example.
-
I'm not sure I follow your message, but you should specify it in both places. The /oauth2/authorize page redirect_uri parameter specifies where to send the user after they authorize the app, and the 'redirectUri' you pass to 'getAccessTokenFromCode' is just a string sent up in a /oauth2/token API call to verify that it…
-
If you have a server-side app and want notifications of when changes occur in the accounts connected to your app, using webhooks is the best solution. For more information, I recommend reading the Detecting Changes Guide.
-
Thanks! So the error message in this case is "redirect_uri mismatch", which indicates that the 'redirectUri' you're passing to 'getAccessTokenFromCode' doesn't match the redirect_uri value on the /oauth2/authorize URL used to retrieved the authorization code. It needs to either be omitted in both places, or otherwise match…
-
The official Dropbox SDKs don't offer functionality for webhooks. Dropbox webhook notifications are meant for use via your own web framework, where you can retrieve the HTTP payload from the webhook notification. Can you elaborate on what kind of webhook functionality you'd want in the SDKs?
-
A 'not_found' error from GetTemporaryLinkAsync indicates "There is nothing at the given path.". Are you sure you're passing in a correct path? How are you retrieving/building the path value?
-
First, can you clarify where/how you're attempting to run this? For instance, are you running this on a node backend, or browser frontend? Also, can you share the full error/output you're getting? Whenever the API replies with a 400 it should include more error information along with it. It may help to print out the full…
-
To run those examples, you'll need to follow the instructions here for setting that up. Did you do so? What output did you get if so?
-
A. Due to indexing and caching, sometimes Dropbox search results may not be immediately updated and available, especially when there are many files/folders like this. I don't have a specific number of files/folders to offer as guidance for when this may occur though. B. The Dropbox search system will automatically update…
-
Thanks for following up with the additional information! The Dropbox API unfortunately also doesn't offer a way to check whether SSO is available/enabled, 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/66518862/dropbox-sdk-java-write-search-query-to-get-all-files ] The Dropbox API doesn't offer the ability to do a wildcard search like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. While not…
-
Good news, the team has finished reviewing this and has decided to extend this, bringing the retirement date for /files/search to October 28. Hope this helps!
-
While the PKCE flow is generally meant for client-side apps (and server-side apps would generally use the code flow) given the constraints in this case, using the PKCE flow seems reasonable and should work. The issue you're running in to here is that you're calling /oauth2/token to perform 'grant_type=refresh_token' but…
-
The Dropbox API doesn't currently offer a way to create shortcuts like this programmatically, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
This should be fixed now. Please try again and let me know if you're still seeing any issues. Thanks!
-
The Python open method expects a path-like object in order to open a file, but your file_stream is the response.content, which is already the actual file data, not a path-like object. You can use it directly without calling open. As for using Pillow, I can't offer help for that as it's not made by Dropbox, but it looks…
-
When monitoring changes via the Dropbox API, moves/renames will be represented as a deletion of the item at the original path, and an addition of the item at the new path. There isn't a specific tag that identifies a rename operation in particular, but you can keep track of file IDs to detect renames. File IDs don't change…
-
@"andrewnicols" This is still open with the team, but I don't any news on this yet. I'll let you know when I do.
-
@"andrewnicols" Thanks for the note. We have not actually yet retired the /2/files/search endpoint. The team is checking the usage and reviewing the feedback such as yours and may decide to extend this. I'll let you know when I have an official update on that.
-
A failed call with the "path/locked" error from /2/files/list_folder[/continue] means the path can't be listed because it is a locked folder. This can occur if the app is attempting to list a Dropbox Vault, for instance.
-
Yes, there's an issue with the documentation page at the moment. We're looking into it. I'll let you know when that's fixed. Thanks!
-
Yes, if you just need a way to get a file from the user's Dropbox account into your web app by having the user select it, the Dropbox Chooser may be a good option. You can find the information on using the Chooser here.
-
Unfortunately the SwiftyDropbox SDK wasn't built for or tested with SwiftUI, so we don't have any resources or examples for that. I'll pass this along as a request for official support for that, but I can't promise if/when that would be done.
-
It sounds like you're referring to the Extensions functionality covered here, but let me know if I've misunderstood. The only visibility option that Dropbox currently offers for that is the "Only me" option. When enabled, the extension for your app will only be available to you (the app owner). When disabled, it will be…
-
@"fborelli" Thanks for the feedback! I'll emphasize this with the team.
-
As you found, Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here. To clarify though, the API Explorer is just a tool meant to make it easy to…
-
These issues should be fixed now. Please try again and let me know if you're still seeing any issues. Also, note that for /2/files/export, you should compare the exported data with the 'export_hash' value, not the 'content_hash', since this is an export and not a direct download.
-
@"AlexMikhalev" Thanks for the feedback! We appreciate you taking the time to write this up. I'm sharing this with the team.
-
No, unfortunately the Dropbox API doesn't offer a way to set custom properties like this via app folder apps, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"Lucanos" Thanks for the feedback! I'm sending this along to the team.