Greg-DB Dropbox Community Moderator

Comments

  • Are you able to print out the full /oauth2/token HTTP response body for this error? It should contain a more detailed error message along with 'invalid_grant'. Also, why are you using "https://www.dropbox.com/callback"? That's not a valid page on dropbox.com. (You can use https://www.dropbox.com/1/oauth2/redirect_receiver…
  • Thanks! It looks like you're referring to using Nemiro.OAuth.LoginForms, which is made by a third party, so I'm afraid I can't offer support for it. This error is coming from that library, not the Dropbox API itself. I recommend referring to the documentation for that library, or opening an issue for it.
  • [Cross-linking for reference: https://stackoverflow.com/questions/49308642/file-manager-for-dropbox-in-c-sharp ] 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 of the platform and SDK/library you are using - the steps…
  • Just registering an app (i.e., creating it on the App Console), does not automatically create the "app folder" in your account. The app folder is only created in the account once the app is "linked" to the account (i.e., when the user goes through the OAuth app authorization flow to authorize the app to connect to their…
  • The Dropbox API allows you to upload and download files of any type, but it doesn't offer database hosting. That is, you can upload and download database files to/from Dropbox, but you can't issue database queries/commands to the databases stored in files on Dropbox directly.
  • If you registered your app to use the "app folder" permission (e.g., as opposed to "full Dropbox"), the app will only be able to see files inside the special app folder created for it. Any paths you use will be automatically interpreted relative to that app folder. The app folder is by default (for the English locale)…
  • The links returned by /2/sharing/create_shared_link_with_settings (and list_shared_links) are the closest to "permanent" links. They don't expire by default, though users/apps can explicitly revoke them or set an expiration.
  • Just to be clear, I've sent this feature request along, but I can't promise if/when it might be implemented.
  • @"max1450" O cartaz original aqui resolveu o problema, então, se você também estiver executando em um problema, abra um novo tópico com os detalhes no fórum relevante para que possamos ajudar. --- Desculpe nossas traduções. Nossas traduções foram criadas usando um tradutor online. Nós gostaríamos de suportar todos os…
  • @"ncw" That behavior is expected. From the /2/files/upload WriteMode docs: "If the target path refers to a file with identical contents, nothing gets written; no conflict."
  • Il semble que vous utilisiez le SDK JavaScript API v2, de sorte que la méthode filesGetTemporaryLink serait probablement la meilleure solution pour votre cas d'utilisation. Il vous donne un lien direct vers les données de fichier spécifiées, ce qui est bon pour quatre heures. --- S'il vous plaît excusez nos traductions.…
  • @"ncw" Thanks for the context! There isn't a way to that on the Dropbox API unfortunately, but I'll send it along as a feature request.
  • @"David L.51" Unfortunately, I don't have any news one way or another regarding this request.
  • Thanks for following up. To clarify though, I've sent this request along to the team, but I can't guarantee if or when that would be implemented.
  • When using /2/files/list_folder to list the contents of a folder via a shared link like this, the intent is that you can use the resulting paths for the files/folders under that folder with /2/sharing/get_shared_link_file and/or /2/sharing/get_shared_link_metadata, i.e., by supplying the `url` and `path` (relative to the…
  • Podemos transferir la propiedad de la aplicación API a petición sin interrumpir el servicio API. Para solicitarlo, abra un ticket API de la cuenta que posee la aplicación API: https://www.dropbox.com/developers/contact --- Disculpe nuestras traducciones Nuestras traducciones fueron creadas usando un traductor en línea. Nos…
  • For Cordova, you may be able to use the API v2 JavaScript SDK: https://github.com/dropbox/dropbox-sdk-js There's a authenticateWithCordova helper documented here: https://github.com/dropbox/dropbox-sdk-js/blob/66806fc1171bd3d6e95f246985a45dd0a65301dc/docs/tutorials/Authentication.md#dropboxauthenticatewithcordova You can…
  • Thanks for the feedback @"warpedgeoid"! I'll send it along to the team.
  • Thanks for the note. This is open with the team. I'll follow up here once I have any updates on this.
  • I can't help with the third party library itself, but can you clarify what you mean you say it "stops"? The Dropbox API itself should always return a response, whether that's a successful result, or an error. You should check how you can retrieve an error result from the library. For example, if you're calling for the same…
  • Yes, /2/files/upload only supports files up to 150 MB. For larger files, use upload sessions.
  • That code looks correct, and it's working for me. (Browsing there in a browser isn't supposed to work.) Is this the exact code you're running? Can you share the full code/output? (Just be sure to redact the access token of course.) You can also add a "-v" flag to tell curl to show verbose output.
  • It generally will only be on the scale of seconds to minutes, and not hours, but it can vary and be longer across different accounts and over time due to several factors, such as the amount of activity in the account, any server issues on our side, etc.
  • The /2/files/search endpoint is subject to a delay due to indexing, so newly uploaded files won't be immediately returned. That being the case, I don't recommend using this to verify newly uploaded files. You don't need to call back to check that anyway though, as you can just check the response from the upload call itself…
  • It sounds like you're using a Business team with the new team space and member folders configuration that some teams have access to. That being the case, you'll need to specify the team folder specifically when making API calls to access its contents, for example, by supplying the 'Dropbox-API-Path-Root' header. You can…
  • The API doesn't offer the ability to disable comments on any particular file's shared link, but I'll pass this along as a feature request as well. Note that there is a 'viewer_no_comment' access level you can set for members for shared files or shared folders, but that's separate from general shared links:…
  • @"hsin" Yes, that's correct. For the newer type B, please refer to the namespace guide, which covers how to access the team space: https://www.dropbox.com/developers/reference/namespace-guide
  • That's correct, the client secret is required for the code flow. If you want to use the token flow, you can use response_type=token and redirect_uri=https://www.dropbox.com/1/oauth2/display_token (as long as you register "https://www.dropbox.com/1/oauth2/display_token" for your app). The token flow doesn't require the…
  • Thanks! Those are probably relevant then. Can you try including the Dropbox library as a JavaScript library instead of a Node dependency?