Comments
-
If you're using .NET, we recommend using the official Dropbox .NET SDK. Check out the SimpleBlogDemo sample for an example of how to use that with a server-side web app. A redirect URI is a URI controlled by the third party app, where the user will be directed to after authorizing the app to access their account. It is…
-
@"AlexStudio" Yes, the "Generate" button now also produces short-lived access tokens. If you need a refresh token, use the OAuth app authorization flow. Check out the links in my previous message for information on that.
-
1. With a user-linked app, to determine if an account has a team space, you can use the 'distinct_member_home' feature on the /2/users/features/get_values endpoint. (The 'root_info.root_namespace_id' value from /2/users/get_current_account alone does not indicate the existence of a team space, as every account has some…
-
@"SerenityNow" Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now 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…
-
Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here. For instance, for working in an iOS app using Swift, we offer an official Dropbox SDK for…
-
The redirect URI functionality works the same way regardless of whether you're debugging or if your app is in development or production status. If the authorization page is showing the authorization code to the user on the authorization page (with a message like "Enter this code into ... to finish the process") then that…
-
This error should indicate that there isn't enough storage space in the relevant account for the upload. I just tried the upload functionality on the API and it succeeded for me, so if you're seeing this erroneously, there may be some other variable that we'll need to look into. I see you've also written in to support so…
-
@"phunction" The particular error message you shared here is referring to the redirect URI not being registered for the app; it isn't referring to the protocol (such as "https://" or "myapp://"). Whether using PKCE or not, the redirect URI value (the "pkceuri" variable in your code) must exactly match one of the redirect…
-
From the code you shared, it looks like you're working from the OAuthPKCE example included with the .NET SDK. That's meant as an example of a client-side application though. Since you're building a server-side web app, the SimpleBlogDemo example would be more relevant. I suggest running that SimpleBlogDemo example as…
-
We've increased the /2/sharing/get_shared_link_file endpoint timeout. For downloads that will take a long time, please use Range requests to retrieve the entire file across multiple requests as described in my previous message.
-
@"mp_w" As Здравко noted, you'll need to connect the app to your account for the app folder to be created. That is not created when you just register the app. You can find information on how to connect the app in the OAuth Guide.
-
Yes, these links can be used multiple times. When using 'audience: no_one', the shared link itself does not grant any access. Someone who gets the link wouldn't be able to use it to access the file content unless they already have access to that file via their account anyway, such as if the file is in their account or in a…
-
I can't provide insight on what the requirements may be for that functionality to work on Android, but if you can share some information about what specifically seems to be the issue with how it's hosted on Dropbox I can request an update on our side.
-
Thanks for the report! It looks like the /2/sharing/get_shared_link_file endpoint is configured with a 10 minute timeout. I'll ask the team to look into whether we can increase that. As a workaround, whether you're using this /2/sharing/get_shared_link_file endpoint or are downloading from the shared link directly, you can…
-
This is a forum for help with the Dropbox API in particular. It looks like the error you're investigating is coming from CloudFront, not Dropbox, so we can't offer support for that.
-
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now 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…
-
Just to clarify, do you mean you're getting a timeout from the Dropbox API, or that some operation on your server is timing out while performing these Dropbox API calls? Regardless, the Dropbox API does offer a way to get thumbnails in batches. In the Dropbox Java SDK, that's available via the getThumbnailBatch method.
-
@"DragonWhisperer" No, I don't have an update on this yet.
-
That's correct, the Dropbox API doesn't offer functionality like /2/files/get_temporary_upload_link but for large files. I'll pass this along as a feature request, but I can't promise if or when that might be implemented.
-
No, unfortunately the Dropbox API doesn't offer pre-signed upload session functinoality, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
We don't have information to share on the decisions behind the design of any particular endpoint/scope on the API, but this is the expected behavior for this endpoint and scope.
-
@"julio_diniz_perdigao" There's no particular guarantee on whether using a file ID or a file path to retrieve a file's metadata would be faster. (There may also be other variables that would affect that anyway.)
-
@"julio_diniz_perdigao" As Здравко suggested, you don't necessarily need the file ID and can instead monitor for changes. Check out the Detecting Changes Guide for information on how to do so. If that isn't sufficient for your use case though, you could first upload a placeholder (e.g., a zero byte file, or something else…
-
@"julio_diniz_perdigao" Thanks for the feedback!
-
@"GSD Company" Здравко is correct; you can use the API/SDK to upload and get links to files, but that would require at least two calls. For reference, you can find the official Dropbox Java SDK here. You can find the documentation for the upload functionality in that SDK here. Likewise, you can use…
-
If you're a programmer, you can use the Dropbox API to automatically create folders and move files as desired. The following guides may be helpful: * Getting Started Guide * File Access Guide * Detecting Changes Guide And in particular, the following API endpoints would be useful: * to list the contents of a folder:…
-
@"Msadr" Здравко is correct; you do not need to add anything to make a standard hyperlink work. From your description though, it sounds like you may still be using some Embedder or iframe functionality. Make sure you only have the standard anchor element if that's the only thing you want. Otherwise, feel free to show what…
-
@"Rahul LR" Yes, you can search for tagged items using files_search_v2.
-
@"Egorov_WIIW" Like Здравко said, make sure you're catching and handling any/all potentially relevant exceptions. Additionally, for the case where no exceptions are being raised, check the return value of files_upload.
-
@"rushikesh1" As Здравко said, if you need help with the API/SDK, please share the details of the issue to show us specifically what isn't working as expected so we can take a look.