Comments
-
If you're getting a "long-lived" access token (that is, it doesn't start with "sl." and is generally 64 characters long), that shouldn't expire by itself. There a number of different ways that a long-lived Dropbox API access token can become invalid though, including:* the user or team admin can revoke all access tokens…
-
@"smarta1" The Dropbox API does offer the ability to programmatically upload files, such as by using /2/files/upload as referenced in the code you shared. Please refer to the documentation linked there for information on using that. Give that a try and if something on the API isn't working expected, please share the…
-
Thanks for the information! From your code, I see you're actually trying to use methods from the old retired Dropbox API v1 iOS SDK. Please instead install the Dropbox API v2 Objective-C SDK and follow the instructions to set it up here: https://github.com/dropbox/dropbox-sdk-obj-c
-
Thanks, I see you opened a ticket, so we'll follow up with you there.
-
@"Kingslands" Can you elaborate on the issue you're seeing? As discussed above, these thumbnail links are only temporary, so if you're seeing them start returning 410 after several hours, that's expected. There isn't a way to get permanent thumbnail links from the Chooser.
-
Quick update: the new scopes feature is fully rolled out now: https://dropbox.tech/developers/now-available--scoped-apps-and-enhanced-permissions
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to access various different pieces of team functionality from the same app. You can find more information about the release in our blog post here:…
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to access various different pieces of team functionality from the same app. You can find more information about the release in our blog post here:…
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to access various different pieces of team functionality from the same app. You can find more information about the release in our blog post here:…
-
I just wanted to follow up on this to let you know that we've released "scopes" functionality on the Dropbox API, which you can use to access various different pieces of team functionality from the same app. You can find more information about the release in our blog post here:…
-
I'll be happy to help with any issues you're having with the Dropbox API/SDK, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using (there are several different SDKs) * the steps to reproduce the issue, including relevant code snippet(s) * the…
-
@"jbmorley" Thanks for the feedback!
-
Quick update: we have extended the timeline for this: https://www.dropbox.com/lp/developers/reference/paper-migration-guide
-
Quick update: we have extended the timeline for this: https://www.dropbox.com/lp/developers/reference/paper-migration-guide Also, you can find some more information on how the migration works here: https://help.dropbox.com/files-folders/paper/paper-2020-faqs
-
Quick update: we have extended the timeline for this: https://www.dropbox.com/lp/developers/reference/paper-migration-guide
-
Thanks for following up. That actually sounds like a bug in the SDK then. The SDK should automatically convert the 'invalid_access_token' error response to a proper exception. I'll look into it and ask the team to fix that up.
-
Thanks for following up. Can you share the actual error output though? The particular error type and stack trace may be helpful. Thanks in advance!
-
@"diventi" Thanks for the note!
-
@"Anthony B.15" SwiftyDropbox does now support Swift Package Manager, so you can use that to install it if you wish. As for the error you received, it doesn't seem to be quite the same error as the original one in this thread, so it's likely not exactly the same issue. The error you received seems to indicate that your app…
-
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.