Comments
-
Dropbox API calls operate in the member folder by default, not the team space, but you can access the team space when desired. To do so, you'll need to specify an additional header to configure that. Please refer to the Team Files Guide for information on how to do so:…
-
The Dropbox API does not block IP addresses, so this is likely a networking issue. Were you able to check if there's any proxy, firewall, etc. that may be interfering?
-
@"kevin g.1" No, unfortunately the cases for when the existing shared link metadata will or will not be returned are not documented/guaranteed.
-
By default, upload sessions only accept the data sequentially, meaning the app needs to only upload the pieces of the file for an upload session one by one in order. You can upload in parallel if you want, but you need to set session_type:concurrent and follow a few other constraints. Please refer to…
-
@"kevin g.1" It's not possible to recreate the sharing_create_shared_link behavior with sharing_create_shared_link_with_settings exactly, but in some cases the API will return the existing shared link metadata in the SharedLinkAlreadyExistsMetadata in the CreateSharedLinkWithSettingsError, which you can get…
-
@"bffy_smmmers" Those examples happen to use sharingGetSharedLinkFile, which is a way to retrieve file data from a shared link. That's just an example though, and may not be the right method for your own use case, such as if you're not working from a shared link to begin with. There are other methods for other use cases,…
-
No, unfortunately there currently isn't a way to revoke only the short-lived access token and not any corresponding refresh token, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
If you will not need to link more than 50 users to your app, you do not need to apply for production. Note that the "development" versus "production" status of your app does not affect the expiration of access tokens for your app. Regardless of the status of your app, you can currently use either short-lived or long-lived…
-
@"Chris Chris" There's no news on this request unfortunately.
-
The Dropbox API unfortunately doesn't return the created/modified date for folders, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The Dropbox API does not block IP addresses or timeout requests intentionally. If/when the Dropbox API rejects a request, Dropbox will return an explicit error response. I'm also not clear on what you mean when you say the request timed out, but you received a 499 status code. The status code would be in the response, but…
-
@"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.