Comments
-
I'm close this thread as a duplicate of this one.
-
@"ketanapatel" Здравко is correct, Dropbox is in the process of 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 "offline" access though, in which…
-
Thanks for the feedback! I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
Thanks for sharing this. As you found, the Dropbox back-end needs to perform some additional work immediately after an operation like this. There isn't a way to check on or disambiguate this programmatically unfortunately, so please add a sufficient delay/retry. I know this is non-ideal and can be slow, so I'll send this…
-
It sounds like you're not properly encoding the value in the 'Dropbox-API-Arg' header. Please refer to this page information on doing so: https://www.dropbox.com/developers/reference/json-encoding
-
I see, thanks for clarifying. No, I don't believe there's a way (at least not officially supported) to trigger that for newly created anchor elements like that. For dynamically creating embedded content, you should use the "Triggering the Embedder using JavaScript" method, instead of "Embedding Files or Folders using…
-
Dropbox does offer an API you can use for listing, uploading, downloading, and monitoring files, 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 These guides in particular may be useful for…
-
By default, API calls operate in the "member folder" of the connected account, not the "team space". That is why you would get files uploaded to your own member folder by default. From your description, you want to upload them to the team space instead. You can configure API calls to operate in the "team space" instead. To…
-
I'm not quite sure I understand the scenario. Would you be able to share a sample and/or some relevant code and any error/output of whatever you have so far? In general though, you should only need to load the "dropins.js" once per page, so you may want to set/use some local variable to indicate if you've already loaded…
-
If you've received a file ID from somewhere, it may be best to record the account that was associated when receiving that file ID. For example, if you are reading from the event log, and are taking the file ID from events about files there, you should also read out and save the account ID for the associated account from…
-
@"spotloader2" I don't have any news on this feature request unfortunately. I'll follow up if/when I do. For future reference, it is not necessary to post the same message in multiple threads.
-
@"spotloader2" I don't have any news on this feature request unfortunately. I'll follow up if/when I do. For future reference, it is not necessary to post the same message in multiple threads.
-
Files that aren't shared won't be explicitly listed as having an owner. Files that aren't shared are just implicitly considered to be owned by the user account that contains the files.
-
@"FARO" Здравко is correct; that code is an "authorization code", which can only be used once each. You should process that and instead store and re-use the "refresh token", which can be used repeatedly. Check out the OAuth Guide and authorization documentation for more information.
-
[Cross-linking for reference: https://stackoverflow.com/questions/72758417/how-to-upload-file-using-an-array-with-binary-data-file-object-to-dropbox-usin ] When uploading a file to Dropbox using the Dropbox API /2/files/upload endpoint, the app needs to supply several different types of things, including: * the parameters…
-
@"divyesh" Thanks for the feedback. The Dropbox Chooser still doesn't offer this functionality, but this has been sent along as a feature request.
-
@"GRDagonese" Please reach out to the creator of that app for support for it.
-
This is available on the API itself via /2/files/tags/get, but this hasn't been built in to the Java SDK in particular yet. I'll ask the team to get that updated, but I can't promise a timeline for that. I'll follow up here once I have any updates on that.
-
I just replicated this setup and ran this code using my own test file/folder/access token, but the issue didn't reproduce for me. I received a successful reply from the API with the expected temporary link. Are you still seeing this issue? If so, is there anything on the network connection, such as a proxy, firewall, VPN,…
-
@"makrand kulkarni" As Здравко indicated, /oauth2/authorize is a web page, not an API call, so you should not be accessing it programmatically. You should send the user there in their own system web browser to interactively click the button to authorize your app to access their account. If you specify a redirect URI, the…
-
@"maxcastrovidal" Здравко is correct; in short, it sounds like you're attempting to use the "authorization code" more than once. The authorization code can only be used once. Once you get the refresh token, you should store and re-use that, not the authorization code, to get new short-lived access tokens whenever needed,…
-
@"RohanRaman" We've updated this accordingly. Hope this helps!
-
@"MG2L" The user does need to process the app authorization flow manually at least once to authorize the app. That produces an authorization code that can be used once to retrieve the access token and optional refresh token. The refresh token can be stored and re-used without manual user interaction though. Even if you are…
-
@"JavMirVal" Здравко is correct; this is something that the developer of the third party app will need to update the third party app to support. (Specifically, the app would need to use "refresh tokens" to maintain long-term access without repeated manual interaction.)
-
@"makrand kulkarni" Dropbox doesn't offer a Spring Boot sample in particular, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
I don't have any information to share regarding a schedule or conditions for team space conversions. Apologies I can't be of more help in that regard!
-
It sounds like the /2/sharing/list_folders and /2/sharing/list_folders/continue endpoints are still the best option here. There isn't another option like that. These will list each shared folder that the user has access to, so whether or not something is listed there depends on if the particular folder was shared as a…
-
@"Thebe" No, unfortunately I don't have an update on this request.
-
@"ethanfang" Thanks for following up. No, unfortunately I don't have any other workarounds to suggest for this.
-
The "unsupported_file" error means: This file type cannot be downloaded directly; use DbxUserFilesRequests.export(String) instead. You can find more information in the documentation linked there.