Comments
-
You can find the instructions for using the Embedder here. There are working examples on that page, but as that is a page on the actual Dropbox web site, there is other code in the source, unrelated to the Embedder itself. To use the Embedder, you would need to: * Load the script as instructed under "Setting up the…
-
It sounds like you're referring to the team space upgrade. For reference, you can find more information on that upgrade in the help center here. On the Dropbox API, there are multiple ways to reference items in a Dropbox account. Exactly how you do so is up to you, and will depend on how you want your application to work.…
-
I'm glad to see you were able to resolve this already. For reference for anyone else coming across this, you can find the documentation for OAuth2FlowNoRedirectResult here and an example of getting the 'access_token' from it here.
-
If there are multiple changes at the same time in the same account or shared folder, you can run in to this 'too_many_write_operations' error, which is "lock contention". That's not explicit rate limiting and can't be increased or removed; it's a result of how Dropbox works on the back-end. This is a technical inability to…
-
@"mobilizer" Thanks for the note! I don't have any updates or other solution to add here, but I'll follow up if/when I do.
-
@"Hoteam Soft" Thanks for letting us know. @"alexlarocca" Yes, thank you for the note.
-
Migrating an app to scopes itself also doesn't change any existing access tokens, so users with pre-existing (non-scoped) authorizations would continue being able to upload files based on the previous broader authorization. In this scenario, only users that newly authorized the app with that insufficient list of scopes…
-
You can find information and examples of using that endpoint in the documentation here. This blog post may be useful as well. Make sure you're calling it correctly as shown. I just tried it and it is working for me. If something isn't working as expected for you, please share the relevant code snippet(s) and steps to…
-
That response should indicate that the file was saved successfully, so make sure you're looking in the right location when verifying that manually, e.g., on the Dropbox web site. For instance, check that you're signed in to the same account that you're connected to on the API (or at least, an account with the relevant…
-
A 'missing_scope' should just indicate that the particular access token you're using to make the API call does not have that scope granted. Also, be aware that just adding a scope to your app via the App Console does not retroactively grant that scope to existing access tokens. I'm not aware of anything that may have…
-
In order to get a refresh token, you need to request "offline" access when starting the app authorization flow, which you can do by setting 'token_access_type=offline' on /oauth2/authorize. You can find more information in the OAuth Guide and authorization documentation. There's a basic outline of processing this flow in…
-
If there are multiple changes at the same time in the same account or shared folder, you can run in to this 'too_many_write_operations' error, which is "lock contention". That's not explicit rate limiting and can't be increased or removed; it's a result of how Dropbox works on the back-end. This is a technical inability to…
-
@"bspindia" Using Dropbox.embed is currently working for me. As Здравко noted, I see the latest code you shared is not the same as you originally shared though. So, can you confirm what error you are currently getting? If you're still seeing an issue, it would be useful if you share the exact code and steps you're using…
-
These endpoints do not guarantee a specific order for the results. You'll need to retrieve all of the results and sort them client-side if/as desired. They also do not offer an option for retrieving only recent items, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The Dropbox API does have a general rate limiting system that applies to all account types, but we don't have specific rate numbers documented for that, and we cannot increase the limits for any particular app, user, or team. Apps should be written to handle these rate limit responses automatically. Also note that not all…
-
It looks like Apple has a list of such errors documented here: https://developer.apple.com/documentation/cfnetwork/cfnetworkerrors
-
@"bspindia" Importing the dropins.js script is required for both ways of using the Embedder (that is, via anchor tags or via JavaScript). Make sure you set it up as shown in the documentation.
-
@"alexlarocca" Thanks for the note. This issue is still open with engineering. I'll follow up here once I have an update on it.
-
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 long-term access by requesting…
-
That error is being reported by the iOS network client and that "-1005" error code in particular indicates that the network connection was lost. Does this happen for all users all the time, or only some users/some of the time? If it only happens sometimes, it may indicate that the network connection was lost for some…
-
@"dean_m" I've checked with the team and updated the post with a link to the workspace with two collections. Let us know if you still need help with anything though.
-
Yes, either remove it or supply the correct type (datetime).
-
This error is indicating that oauth2_access_token_expiration requires a datetime, but you're now passing in an int. You should pass in a datetime for that. Or, you can just omit oauth2_access_token_expiration entirely and the SDK will just handle it as needed.
-
That error indicates that you're attempting to use an object that isn't defined. Since you're trying to access a client with the name "dbx", add "as dbx" at the end of the "with" statement (before the ":"), like this: with dropbox.Dropbox(oauth2_access_token='access token', oauth2_access_token_expiration=expiry,…
-
@"dean_m" Thanks for following up. The "Dropbox Team Admin Workflows" there are officially published by Dropbox. I don't have any others to share, but I can ask the team. Is there something in particular you're looking for? E.g., for some specific endpoint(s)? In any case, if you have any questions on using the API I can…
-
In order to get this working, please set up the client by supplying the refresh token, etc., to it directly, as shown in the example, so that it can perform the refresh process for you. That way, it can continue performing API calls successfully for more than four hours.
-
@"dbox-arg0" Здравко is correct. The "authorization code" can only be used once. You should use it to get the refresh token, and then you should store and re-use the refresh token. Also, the initial authorization flow will give you an access token that you can use immediately, in addition to the refresh token. You can use…
-
@"Abood Moorad" I've updated the links in my post. Thanks!
-
If you want to download a zip file (e.g., a folder that has already been uploaded to Dropbox as a .zip file), you can use /2/files/download to download the content directly, or /2/files/get_temporary_link to get a temporary directly link to the .zip file. If you want to download an entire (not already zipped) folder from…
-
@"ericmayhew" I don't have any news on this right now. I'll follow up here once I do.