Comments
-
@"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.
-
@"dean_m" The activity log in that workspace doesn't show any recent changes. Can you let me know specifically what you're looking for? If you have any specific questions or issues regarding the Dropbox API I'll be happy to help directly. Feel free to start a thread with the details of any particular Dropbox API question…
-
I see you are using the official Dropbox Python SDK to do the upload work, but are attempting to perform the refresh process yourself using 'requests' to call the /oauth2/token endpoint directly. The official Dropbox Python SDK can handle the refresh process for you automatically though, and I strongly recommend having it…
-
Thanks for following up. I'm glad to hear you got that solved.
-
I don't believe we have sample code for these in particular, but you can call those methods much the same way as you would call createSharedLinkWithSettings, and get the information from the response object. Note that the folder sharing operation may run asynchronously though. If successful, the shareFolder response will…
-
We can't offer support for the third party browsers or libraries themselves, as they're not made by Dropbox, so you may need to debug that to see what code/conditions trigger that getAuthenticationUrl/launchWebAuthFlow code path to run. As for the Dropbox side of things, I see you are setting tokenAccessType to offline in…
-
No, use of the Dropbox API itself is free. As the developer of the app, you do not need to pay anything. It is only if the owners of any individual (or group of) accounts want to upgrade is there cost involved. You can see more information on pricing and plans here for reference.
-
A 'missing_scope' error indicates that while the app is permitted to use that scope, 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 (or…
-
Please note that when calling /oauth2/token, you should not include an access token. The /oauth2/token endpoint can be used to exchange an authorization code for an access token and optional refresh token, or to use a refresh token to get a new access token. It does not itself expect or accept an access token as input.…
-
This error message is indicating that the request contained both an "Authorization" header as well as the client_id and/or client_secret parameter. While Dropbox accepts the app key and secret in either, you should only use one or the other. That is, the request needs to contain either only the "Authorization" header or…
-
Dropbox does offer an API you can use for listing, uploading, and downloading files to/from connected end-user Dropbox accounts, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers The following…
-
You can use createSharedLinkWithSettings to create a shared link to any file or folder to allow access to view that file or folder, but to enable other people to make changes in a folder, you should share the folder itself. You can use shareFolder and addFolderMember to do so. You can find more information in the Sharing…
-
@"stoane" To clarify, are the end-user or developer of a third party app? If you're not the developer of the app, you'll need to reach out to the developer for help with it. If you are the developer, please share the details of the issue you're seeing with the Dropbox API/SDK.