Comments
-
@"RandySK", In order to authorize your app for the first time, there needs to be user interaction for that first step. You can then get a long-term access token, by requesting "offline" access, where further manual user intervention is not needed. When requesting "offline" access, the app receives a "refresh token" that…
-
Hi @"GustavBrock", In order to further assist, could you provide the following? * the name and version number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s) * the full text of any error or…
-
@"RandySK", The /oauth2/authorize endpoint isn't an API call—it's the web page that lets the user sign in to Dropbox and authorize your app. Meaning, users are meant to navigate to it to authorize your app. Once users authorize your app, then the redirect to your redirect URI happens. The type of response, or query…
-
Hi @"GustavBrock", Sending a request to /sharing/list_folder_members endpoint will return the members of a shared folder. For member groups, there will be a property "group_id" per member group. For individual members, there will be an "account_id" property per member.
-
Hi @"ca-01", There are no specific conditions in which the response from /sharing/list_folders would not contain the "folder_id" field. Marking this field optional allows for more flexibility, scalability, and adaptability of the API or this endpoint over time.
-
@"ca-01", The reason why there may be slight variations with the results from /files/search_v2 is not due to any specific specification, but rather how data is handled on the backend. Consistent results cannot be guaranteed because factors such as data updates, indexing, or backend processing that can impact the outcome of…
-
@"eaev", I'm glad we were able to help you get that working. As a side note, shared folders do count against your Dropbox storage space. You can find more details on shared folders and how this affect Dropbox storage quota here: https://help.dropbox.com/storage-space/storage-space.
-
@"trailtech", I suspect that is most likely the case. However the request is being formed, it is not adding the "grant_type" field in the body of the request.
-
Hi @"eaev", In order for a shared folder to show in your Dropbox account, or the Dropbox folder on your computer, you need to ensure you have joined the folder after you were added to it as a member. You can do so by: * Log in to dropbox.com. * Click Home in the left navigation bar. * Click Shared in the left sidebar. *…
-
Hi @"Ruslan Shastkiv", As Rich has mentioned, Dropbox does not offer long-lived access tokens. That said, following the steps on the provided guides should help you get long-term access tokens. As far as creating a static folder for public access, you can easily create a folder via the /files/create_folder_v2 endpoint…
-
Hi @"TimCadieux", The code returned from the auth URL: https://www.dropbox.com/oauth2/authorize?client_id=&token_access_type=offline&response_type=code is an authorization code, not a refresh token. To obtain a refresh token, you would first need to send a request to /oauth2/token with the value of the authorization code,…
-
Hi @"trailtech", We are not familiar with the esp_http_client component, but based on the error you are receiving from the API it's most likely the payload is not being formed correctly. Would it be possible for you to add logging that would allow you to visualize the full request payload before it is being sent to the…
-
@"bneese" The error you’re encountering is due to parameter 'shared_link' expecting a value of type 'SharedLink' rather than a string. The reason for this is that shared URLs could be password-protected, and by providing an object of type 'SharedLink', you ensure that both the string and any associated password can be…
-
Hi @"denseishin" I'll be happy to look further into this issue for you, please reply with: * the name and version number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't * include any access or refresh token(s) * the full text of any…
-
Hi @"personalizedrefrigerator", I can certainly submit this feedback to the team as a feature request. I can't promise if or when that might be implemented however. Just to clarify though, the text field containing the authorization code at oauth2/authorize_success is not "disabled", it is "readonly". Screen readers are…
-
@"GustavBrock", OAuth access tokens are an encoded string all of the necessary access information. This information varies from information about the user's identity, their permissions or scopes, the issuing application, expiration time, etc. The length variance could be, in part, due to time (such as expiration, time of…
-
@"bneese", My apologies, after reviewing the developer documentation, I realized there is actually a way to pass a share link URL to the /files/list_folder endpoint. You can pass that link to the shared_link parameter. Note that in this case, the path will be relative to root of the shared link.
-
Hi @"bneese", Thank you for providing additional context. In the case of the /files/list_folder[continue] endpoint, the path parameter only accepts paths relative to the authorized user's Dropbox. It is not possible to pass a URL as the path for that endpoint either.
-
Hi @"GustavBrock", The Dropbox API access token length can vary due to various factors on the Dropbox servers. Please note that per the documentation: access_token String The access token to be used to call the Dropbox API. This should always be treated as opaque with no guarantees as to the size or composition of this…
-
Hi @"harlanhaskins", By default, shared links point to HTML preview pages, not the file content itself. You can modify these links for other behaviors though, such as direct file access. You can find information on doing so here: https://help.dropbox.com/files-folders/share/force-download
-
Hi @"bneese", To allow an API app to act on a user's behalf, the user would need to grant consent through the OAuth authorization flow. This ensures the app has the necessary permissions to perform actions on the user's behalf. Regarding your question about calling the /files/list_folder from a public URL, could you…
-
Hi @"ca-01", The statement in our documentation refers to scenarios where slight variations in the number of returned entries may occur due to how the Dropbox file system works on the back end and technical factors involved in data retrieval. That said, we don't have specific examples and/or conditions documented to…
-
Hi @"DEfusion", The thumbnailLink is still a property available on the response. In order to further assist, could you share the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s). Also, could you include the full text of any error or unexpected output?
-
Hi @"bneese", You are correct, the endpoint /files/save_url is meant to save data from a specified URL into a file. That said, I'll pass this along as a feature request. I can't promise if or when that might be implemented though. While it is not possible to save/copy folders directly to Dropbox via the API, especially…
-
Hi @"berniebetgcarpio", As @"Rich" mentioned, Dropbox issues short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived…
-
@"CodingGriffin" The code and screenshots provided appear to be related to "Uppy" and its integration. As previously mentioned, since that is a third party tool, we are unable to provide any guidance on its usage. As far as the "Authentication aborted" error, this error is being thrown by the "Uppy"…
-
Hi @"CodingGriffin", Could you share the relevant code snippet(s)? Be sure to not include any access or refresh token(s). Keep in mind that "uppy file upload tool" is a third-party tool, thus we would be unable to provide guidance on its usage.
-
Hi @"sanchitcop1997", Could you confirm whether the property "has_more" in the response has a value of "true"? If so, you will need to retrieve the "cursor" value from the response to then call filesListFolderContinue({ cursor: cursor }), with the value of that "cursor" property.
-
@"CodingGriffin", When I integrate with Dropbox OAuth, what scopes I have to set at my app permissions. The scopes to register for your app are dependent on your use case and what endpoints you will be calling. You can see which scope is required for each endpoint in the API documentation:…
-
Hi @"appdev-admin", The links returned by /get_temporary_link endpoint are temporary and are not recommended for direct display in the browser because they are designed for short-term use. This endpoint is commonly used to generate temporary links that can be shared with other users for quick and convenient access to…