Comments
-
Dropbox is currently 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 case the app receives a…
-
The SwiftyDropbox SDK only provides the two download styles you mentioned: file and memory. You can find a basic example of each in the readme here. The memory option returns the file data as a Data object (in 'response.1' in the example linked above). The SDK unfortunately doesn't offer an option for returning the data as…
-
The SwiftyDropbox SDK uses the Keychain to store and retrieve the access/refresh token for the user (you can find it here in the code), but SwiftyDropbox SDK itself doesn't provide a way to configure any such Keychain options, so I'm afraid I can't offer too much help here. The SDK just asks the system for the specified…
-
@"HippoJens" No, I don't have any news on this feature request.
-
Just to confirm exactly what functionality you are referring to, are you applying the tags you mentioned by using the Dropbox web site or /2/files/tags/add, or something else? Also, note that you should only be using the options and fields documented for /2/files/search_v2 here, which does not include "search_tags",…
-
1. Yes, the timeline lines up for this. 2. I don't have any other changes to report on this. 3. Thanks for the note. 4. This isn't configurable by any sort of option on the API unfortunately; this is something that standard HTTP clients should just automatically handle. The only workarounds I can recommend would be to have…
-
I looked into this further, and I can report that we did make a change to how we serve these links on HTTP/1.1 in particular. When calling with HTTP/1.1, we are now using "Transfer-Encoding: chunked" and no longer return "Content-Length". HTTP clients should handle this automatically, but it sounds like yours may not…
-
Thanks for the detailed reply! While I can't rule out some other change (I'll see if I can track anything down), but the current links do appear to comply with the requirements listed here (and don't use redirects). For reference, I manually tried out a few requests on the sample link you provided to confirm these…
-
Unfortunately the Dropbox API doesn't offer a way to programmatically check the online only status of any particular file or folder, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Online-only files should be automatically downloaded when opened though, except…
-
Thanks for the additional information. Just to clarify a bit further, are you referring to tags applied to items using the Dropbox web site or /2/files/tags/add, or something else?
-
Thanks for the report. I'm not aware of something that should have affected this, but I can look into it. I could use some more information though. Could you let me know: * what kind(s) of video file type(s) are affected? (e.g., .mov, .mp4, etc.) * when did this start occurring, to the best of your knowledge? * when you…
-
This would depend on the particular timing and cursors you're using, but yes, the options you set on files_list_folder apply to the cursor resulting from that call, as well as all further cursors retrieved from that initial cursor. So, for example, if you are using a cursor that descends from a call that originally set…
-
@"AmanSingh" Thanks! That code itself looks fine, so it sounds like there's something specific to your account/files relevant here. Could you please open an API ticket and share the entire output you get from 'new AWSXRayDbxClientV2(api, xRay).files().listRevisions(path)' itself? That should help us investigate internally.…
-
@"AmanSingh" The listFolder/listFolderContinue methods are the right way to list the contents of a folder, the listRevisions method is the right way to list the versions of a file, and the restore method is the right way to restore a deleted file. I just gave these a try myself and they are working properly for me. If it's…
-
@"swively" Shared folders themselves have owners (see earlier in the thread), but individual files inside shared folders do not. You can see you last uploaded a file (i.e., the latest version of a file) via FileMetadata.sharing_info.modified_by though, e.g., as returned by /2/files/list_folder[/continue] or…
-
Webhook notifications tell you when something has changed, and using the files_list_folder/files_list_folder_continue functionality is the right way to then list items and check for changes. In this case, I see you're getting back a result with an empty entries list, indicating that there were no changes to report for the…
-
Dropbox is currently in the process of switching to only issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. The creation of new long-lived access tokens is already considered deprecated, but has not been fully retired yet. You can find more information on this migration…
-
@"LukeyB" Здравко is correct; the URL parameter order is not supposed to matter, and so the Dropbox webhook system does not guarantee any particular URL parameter order. You'll need to troubleshoot this with the framework itself.
-
@"Hawkeye00" To use the Dropbox Embedder, make sure you've registered the domain(s) of your site(s) where you want to use it. You can find more information in the Dropbox Embedder documentation. You can register your "Chooser / Saver / Embedder domains" from your app's page on the App Console.
-
I'll be happy to help with any issues you're having with the Dropbox API, but I'll need some more information. Please reply with: * the name and version number of the platform and SDK/library you are using, if any * the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or…
-
I'm closing this as a duplicate in favor of your existing thread.
-
@"AmanSingh" Yes, as Здравко mentioned, please share the relevant code. It would be useful if you show both where/how you're get the revision value, as well as where/how you're using it. It may also be helpful for troubleshooting purposes to print out the value itself.
-
The Dropbox API doesn't expose a way to list or count the changes in a specific date range, but I'm filing this as a feature request internally. As with the other thread though, I can't promise if or when this might be implemented. This forum thread serves as your request. (You don't need to upvote it elsewhere.) Thanks!
-
For Android apps using the official Dropbox API v2 Java SDK, you should upgrade to the latest version of the SDK (currently v5.4.4) and use the updated authorization functionality, starting with the startOAuth2PKCE method. You can find an example app here. For instance, you can see where that starts in the code here and…
-
There's a help center article "Move files between two Dropbox accounts" here that should be helpful for information on doing this manually. To use the same sharing functionality via the API, e.g., to automate this, you can use the sharing endpoints. Also, check out our developer Sharing Guide (specifically, the "Shared…
-
You can find more information on handling this migration in the blog post. (Please also make sure that the email address on the Dropbox account that owns your API app is valid and can receive email, as that's where we send advanced notice of changes like this.) In short though, if your app only requires short-term access…
-
Can you share the relevant code so we can take a look? Be sure to redact any access/refresh tokens though. Thanks in advance!
-
Dropbox is switching to 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 case the app receives a "refresh token" that can be used to…
-
@"swively" No, unfortunately I don't have any updated guidance/documentation on that.
-
This should be working properly again now. Please let us know if you're still seeing any issues. Thanks!