Comments
-
@"ThaiNguyen" Здравко is correct, if you need access for a long period of time without the user present, you should request and use refresh tokens. For reference, Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is switching to only issuing short-lived access tokens (and optional…
-
Using the AsMember method is the right way to set the "Dropbox-API-Select-User" header with the .NET SDK. Your code itself looks fine, but the issue may be with the value you're using. Make sure your "request.AsMember" variable is properly set to the team member ID of the team member you wish to call on behalf of. For…
-
@"ThatBritishOne" Здравко is correct, you can control the folder hierarchy where you upload a file by using the "path" value. For example, if you want to upload a file named "newbackup" into a folder named "10-24-2022" which is inside a folder named "Backups", the "path" value should be "/Backups/10-24-2022/newbackup".
-
Thanks for the feedback! I can't offer specific insight on why any particular functionality wasn't implemented, but I'll pass this along as a feature request for a batch version of /2/sharing/list_folder_members. I can't promise if or when that might be implemented though.
-
You shouldn't need to upgrade your SDK because of that search disruption. If you're still seeing search issues, feel free to open an API ticket with details for help.
-
Thanks for following up. I'm glad to hear you got this working. No further action is required on your part for this thread.
-
I see your app currently processes the OAuth app authorization flow inside a web view, instead of the system browser. The OAuth app authorization flow should be processed in the user's system browser. See here for more information. Processing the OAuth app authorization flow inside a web view is not officially supported…
-
Dropbox selects certain partner apps for inclusion on that page. I can't make any promises, but feel free to open a ticket from the account that owns the app and we can send along the request.
-
I see you're getting an error "Failed to create SSL/TLS secure channel", which indicates your system wasn't able to establish a secure connection to the Dropbox API servers for the HTTPS requests needed to perform API calls. This may be because your system doesn't support a sufficient version of TLS. For reference, Dropbox…
-
That field is referring to restricting certain members from being listed in the team directory. You can find more information on this feature in this help center article, under the "How to hide members from your team directory" section.
-
@"WCByrne" Unfortunately there still isn't a way to register these programmatically. For reference though, for the case of subdomains at least, you can register just the main domain, e.g., example.com, which would enable use of the Chooser on any subdomain of example.com, e.g., sub1.example.com, sub2.example.com,…
-
First, for reference, note that there are two changes covered in that post, so I'll clarify each. While we started these at the same time, they are not technically tied together and can be applied separately: * Permissions/Scopes change: New apps can only be registered as scoped apps, and existing apps can be migrated to…
-
@"feltj16" For reference, an "upload session" is a way to upload a large file by doing so in pieces. That is, each individual request would only contain one portion of the file. The "offset" of an upload session indicates how much of the file has been uploaded so far. (Also, if you only need to upload small file(s), you…
-
@"Jay0203" Yes, Здравко is correct. For reference, you can also find this in the /oauth2/token documentation, in the 'refresh_token' field in the 'Returns' section.
-
It looks like you're attempting to run the "OauthBasic" example from the Dropbox .NET SDK here. That's an example meant to show how a server-side app can process the OAuth app authorization flow to receive an access token and refresh token for making API calls. I understand that can be tricky to set up from scratch, so I…
-
The /2/files/upload endpoint allows an app to upload a file to Dropbox by supplying the file data in the API call request body. The example in the documentation shows how one might do so by using curl to upload the contents from a file on the local filesystem, but that is not a requirement. Exactly where/how you get the…
-
Thanks for your patience while the team looks into this. It sounds like what you're running in to is a per-link limit, so the team suggests increasing the time between requests and/or adding a backoff.
-
@"olavolsf" To retrieve a refresh token, make sure you set 'token_access_type=offline' on the /oauth2/authorize URL initially. If you don't set that, it will default to 'online' in which case a refresh token is not returned. There's an example earlier in this thread, but we also just published a new blog post showing how…
-
@"anoduck" In addition to Здравко's note, make sure you're supplying all of the necessary credentials. I see you're currently setting a refresh token and app key. That would be sufficient if that refresh token was retrieved using PKCE, in which case the app secret isn't used. If PKCE wasn't used to retrieve that app key…
-
@"Newbie8" I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. 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…
-
Thanks for the post, and apologies for the confusion. These member folders each have their own shared_folder_id value as they are each a mounted namespace in the context of the team space (even though they're not technically a "shared folder"). Unfortunately there isn't a proper way to exclude or identify these member…
-
@"msmoe" Здравко is correct, Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get…
-
Please print out the full request and response. The response body should contain a more useful error message. Be sure to redact the access token though.
-
@"alirameez" I don't have any specific updates to share, but the team does continually make improvements if/when possible. If I try running the code that was included in the original post (though I lowered the 'sleep' value since it runs faster than that for me) now, it does run faster than described there originally. The…
-
@"Rolana" No, I don't have any news on this feature request.
-
@"Redcom6816" Здравко is correct; paths may not end with whitespace. The path in your example ends with whitespace so it was rejected with that error. You can find more information in the documentation here: https://www.dropbox.com/developers/documentation/http/documentation#path-formats . You'll need to make sure the…
-
The Dropbox API does not offer an integer version number. It offers the "rev" value, which can be used to detect changes, but is not a monotonically increasing integer. Check out the Detecting Changes Guide if you're interested in how to use the Dropbox API to monitor changes to files/folders. The Dropbox API also doesn't…
-
@"Fenoma" Здравко is correct. For more information, refer to the following resources: * https://dropbox.tech/developers/migrating-app-permissions-and-access-tokens * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization
-
You can find the documentation for the Dropbox API, including all of the request and response objects/fields, here: https://www.dropbox.com/developers/documentation/http/documentation For example, the "returns" section of the /2/users/get_current_account documentation shows all of the fields returned when requesting the…
-
It sounds like you're attempting to call /2/files/get_temporary_link on a file that has been individually shared with you, i.e., a "received" file, such as listed by /2/sharing/list_received_files. As this isn't mounted anywhere in your account, this 'path/not_found' error is expected, since the file is not available in…