Comments
-
Dropbox OAuth 2 refresh tokens don't expire by themselves, but the user or app can revoke them on demand.
-
@"tribalneck2000" Thanks for following up. I'm glad to hear you've sorted this out. Yes, refresh tokens don't expire by themselves (though the user or app can revoke them if desired).
-
[Cross-linking for reference: https://stackoverflow.com/questions/63973139/bad-json-expected-object-value-dropbox-api-file-upload-error ] Thanks for the report! This error doesn't reproduce for me with this code though, so we'll need to investigate more. Does this error occur for you when uploading to any file path, or…
-
Thanks for surfacing this thread, and apologies it wasn't answered! (Sometimes threads get posted in the wrong section and only later moved to the correct section so the right people don't get notified like in this case.) Anyway, looking at the original question, I see it was regarding getting a 'no_permission' error…
-
@"tribalneck2000" You can find an example of processing the OAuth flow with the .NET SDK here. For example, it uses the RefreshAccessToken method to use a refresh token to get a new access token here.
-
We've updated SwiftyDropbox to work with Swift Package Manager as of v6.0.2. Please give it a try and let us know if you run in to any issues. Thanks!
-
You can use the shared folder ID to call /2/sharing/get_folder_metadata (or corresponding method in an SDK/library) and get the "preview_url" value from the response. That will be a URL that will automatically redirect to the shared folder in their account when a member of the shared folder accesses it. (Non-members would…
-
Thanks, that's helpful. Yes, if file B was only recently deleted (less than 30 days ago) you should be able to restore it via the API with a basic account. Is that the particular case that is failing for you via the API? Can you double check you're using the correct recent revision ID? (That would be the "rev" variable in…
-
Thanks! Yes, you'll also need to define "element" which will depend on your page, but should be the element on your page where you want to put the Embedder. For example, if you have an element on your page like this: <div id="folder_container"></div> Then you might define 'element' like this: var element =…
-
Thanks for the report! I'm not aware of anything that should be causing this, but we'll be happy to look into this. To help us investigate, please share the following: * the version number of Python you're using * the version number of the Dropbox Python SDK you're using * an estimate of the percent of these calls that…
-
No, Dropbox doesn't offer a way to set an app's settings programmatically, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
@"siddharth chauhan" Yes, you're correct. The app should use the latest returned cursor, which would be result.cursor there.
-
What error, if any, do you get in the JavaScript Console when you try this? From what I can see, it looks like it may just be a syntax error. You're missing a comma here: // view: "list" // or "grid" It should be: view: "list", // or "grid"
-
Thanks for the report! It looks like there was a bad configuration on our side preventing you from loading that. I just fixed that so it should work again now. Please try again and let me know if you still see any issues. Thanks and apologies for the inconvenience!
-
No, unfortunately there isn't a way to upload an entire folder at once; you'll need to upload each file as you described. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
Thanks for the detailed feedback! I'm sharing this with the team.
-
Thanks for the report! I just gave this a try on macOS Catalina with Xcode 12 GM though, and it didn't fail for me. Can you let me know what your Cartfile look likes and what version of Carthage you're using? Edit: disregard this. I can reproduce this issue now. It looks like my Carthage was still using an old version of…
-
I'm glad to hear you got this working well. I can't share any guidance on the rate limiting parameters though, as we try not to encourage apps to rely on hard-coded limits, as the system can change over time. So, make sure your app is still able to always check and use the returned Retry-After value.
-
I'm not sure I understand your latest message. Can you clarify? Alternatively, if you have questions about Dropbox file restorations and version history retention in general, you can contact support directly.
-
You can get an API app key and secret (a.k.a. consumer key and secret) by creating a Dropbox API app at: https://www.dropbox.com/developers/apps/create Once you have an app created, the app key and secret will be available by going to the App Console and selecting the app here: https://www.dropbox.com/developers/apps
-
We did recently add a "completion" parameter. You can find the updated usage with that in the readme here, or in the docs here. Can you link me to the pages you found showing the old usage? I'll ask the team to fix those up. Thanks!
-
Dropbox doesn't offer an SFTP interface, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Dropbox does offer an API that works over HTTPS though that you can use to programmatically upload and download files, among other operations. You can find everything you need…
-
@"tribalneck2000" All of the functionality discussed above is available both via the API v2 HTTPS endpoints themselves, as well as the official Dropbox API .NET SDK.
-
@"GevorgMel" This functionality should now be available on DropboxTeamClient as of release v5.1.0. Please update and give that a try and let us know if you run in to any issues. Thanks!
-
Unfortunately I don't have any specific rate limit numbers to share.
-
Thanks for sharing this. First, please note that you should not use a webview for the Dropbox app authorization flow, per our /oauth2/authorize documentation. As for the issue, it looks like it's because it's using an old browser engine, e.g., an old version of Webkit. Unfortunately that is not officially supported by the…
-
Unfortunately, the Dropbox API doesn't currently offer a way to update Paper docs that are stored as .paper files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. (The paperDocsUpdate method only works for legacy Paper docs, not in the filesystem as .paper files.)…
-
I just tried running a stripped down version of this code in the same environment (using v5.0.0 of the Dropbox .NET SDK, in a project using VB.NET and .NET Framework 4.6.1 in Visual Studio 2019) and it works correctly for me. I'm able to trigger and catch an exception from DownloadAsync for a non-existant path. Here's the…
-
Thanks! We'll work on reproducing the issue using this.
-
Thanks for the information!