Greg-DB Dropbox Community Moderator

Comments

  • This should be fixed now. Please let us know if you're still seeing any issues.
  • This should be fixed now. Please let us know if you're still seeing any issues.
  • This should be fixed now. Please let us know if you're still seeing any issues.
  • Thanks for following up. I'm glad to hear you already got the Dropbox Embedder working. To allow users to upload files to your account, check out the "file requests" feature.
  • The "spatie/dropbox-api" library isn't made by Dropbox, so we can't provide support for using that library in particular. I recommend referring to the documentation and support resources for that for help using it. For reference, the Dropbox API itself allows apps to download files using the /2/files/download endpoint,…
  • @"olavolsf" As Здравко said, a 'path/not_found' error doesn't indicate an issue with the access/refresh token itself. If an access token or refresh token is invalid, attempting to use it will fail with an error indicating an issue with the token. A 'path/not_found' error indicates an issue with the 'path' value being…
  • @"3d_Schorsch" In addition to the information Здравко helpfully provided, if you're interested in using Dropbox's OpenID Connect support for authentication for your site, be sure to read our OpenID Connect Guide.
  • The Dropbox API has a general rate limiting system that applies to all account types; there isn't a plan available for purchase that would circumvent that system. Apps should be written to handle these rate limit responses automatically. Also note that not all responses with a 429 or 503 status code indicate explicit rate…
    in Ratelimit Comment by Greg-DB May 2023
  • @"plancher" This is open with the team, but I don't have an update on it yet. I'll follow up here once I do.
  • @"dbxlab" Thanks for the samples! This does appear to be the same issue. This is still open with engineering and I'll follow up here once I have an update on this.
  • When you say you executed it, it sounds like you're referring to the step where you call /oauth2/token to exchange the authorization code for a refresh token and access token. It looks you're sending the parameters as JSON though, but the /oauth2/token endpoint requires application/x-www-form-urlencoded POST parameters,…
  • Thanks for the report. It looks like the .NET SDK is unnecessarily retrying (repeatedly, with a backoff) on 'expired_access_token' failures. I'll ask the team to update it to skip the automatic retries on that kind of failure. To work around this, you can make a DropboxClientConfig with maxRetriesOnError set to 0, and pass…
  • @"Goldmine" In addition to the information Здравко provided, you can find more resources on this at the following links: * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization * https://dropbox.tech/developers/using-oauth-2-0-with-offline-access
  • It looks like the issue here is that the app you're attempting to authorize has team scopes, but the account you're signing in to is not on a team, and so cannot connect an app with team scopes. Accordingly, you're being prompted to sign in again with a team account in order to connect the app. Normally, when signing in…
  • There isn't a separate public bug tracker for this. I'll follow up here once I have an update on that issue.
  • You can use the /2/files/list_folder and /2/files/list_folder/continue endpoints to list the contents of a shared links for folders. That's files_list_folder and files_list_folder_continue in the official Dropbox Python SDK. You can also use the API v2 Explorer to test/prototype these calls. You would start by setting…
  • Thanks for the report. We're looking into it. I'll reply here once I have an update on this.
  • Thanks for the report. We're looking into it and I'll follow up here once I have an update.
  • It looks like this is due to the same issue in your earlier thread, so I'll follow up with you there.
  • Whether or not you need to revoke the edit link will depend on your use case; it's not required for creating a view link. To revoke a link you'd use /2/sharing/revoke_shared_link. Whether or not you do revoke the edit link, you can create the view link using /2/sharing/create_shared_link_with_settings.
  • @"raiam" As Здравко said, you'd need to be able to save cursors in order to keep track of changes over time. If you're calling filesListFolderGetLatestCursor after the webhook notification, that cursor will be for the point in time after the changes occurred, so you can't use that cursor to see those changes. To start…
  • @"raiam" I see you also opened a new thread for this, so we'll follow up with you there.
  • @"CHBA" Здравко is correct; Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. This is not related to the plan (i.e.,…
  • @"kostas99" As Здравко said, if the Dropbox API call failed, the Dropbox API would reply with an error response. If the network connection itself failed, your network client should return an error indicating the issue. Please print out the API response or client error for more information. You may need to refer to your…
  • If your app needs to maintain long-term access without the user manually re-authorizing it repeatedly, the app should request "offline" access so that it gets a refresh token. The refresh token doesn't expire and can be stored and used repeatedly to get new short-lived access tokens whenever needed, without the user…
  • No, the Dropbox API doesn't offer this kind of functionality, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
  • @"priyalcoc1" Здравко is correct; you would request "offline" access to get and use a refresh token for this. Please refer to the following resources for more information: * https://developers.dropbox.com/oauth-guide * https://www.dropbox.com/developers/documentation/http/documentation#authorization *…
  • It's still not clear where the "TypeError: res.buffer is not a function" path is coming from; that doesn't reproduce for me when I run this, so it may be something specific to your environment. I recommend referring to your platform's documentation. As for the "Error in call to API function "files/list_folder/continue":…
  • The Dropbox API doesn't support changing the access level on an existing link like this, but it looks like the API isn't properly reporting that back in the /2/sharing/modify_shared_link_settings response. I've asked the team to fix that up. That being the case, if you need a view link instead of an edit link, you'll need…
  • @"Tshaniii" Calling filesListFolder alone is not guaranteed to give you all of the results. You need to use filesListFolderContinue as well. Check out the documentation for more information. You can set FilesListFolderArg.recursive to true when calling filesListFolder if you want to list nested entries too. As for the…