Comments
-
It looks like the file you're referring to is located in the "team space". API calls default to the "member folder", not the team space though, so to access anything in the team space you will need to also specify the "Dropbox-API-Path-Root" header. Please refer to the Team Files Guide for information on using that:…
-
No, the creation of new long-lived access tokens is now deprecated, and will be retired in the future. For reference, we don't currently have a plan to disable existing long-lived access tokens though. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing…
-
The API Explorer doesn't know which permission is needed for each endpoint, so if you "Get Token" with "App Permission" set to the wrong permission for the current endpoint, you'll get this error when making the call. For example, /2/team/team_folder/list requires the "Team member file access" permission, so you'd need to…
-
Thanks for the report! I'll ask the team to fix this up. I can't promise a timeline for that though, so feel free to open an API ticket with the relevant app key(s) to ask for an extension.
-
Thanks for the report! We'll investigate and I'll follow up here once I have an update.
-
The /2/files/get_temporary_link endpoint does not offer a way to upload files to Dropbox. It is a way to get a link that can be used to download file data from Dropbox. The 'path' value should be the relative path of the file in the connected account, which would look like "/shirt.png". A "path/not_found" error indicates…
-
We'll be happy to help with this. Please open an API ticket here with the relevant app key(s) (but not secret(s)).
-
Thanks for clarifying! I'm sending this along as a feature request, though I can't promise if or when that might be implemented.
-
No, there's no need to open anything else. This forum thread serves as the reference to your request. Thanks!
-
@"msullybos" Yes, the /2/files/list_folder endpoint supports namespace ID paths in the 'path' parameter, so you can use the team_folder_id for a team folder as the 'path' value, like "ns:123456789", where 123456789 is the team_folder_id. (For information on how to interact with a team space though, refer to the Team Files…
-
You do not need to apply any special logic for the expiration of an access token near the boundary of the expiration time; the Dropbox API servers will authenticate each request and either allow or reject it. For any given API request, the request will either be authenticated and then proceed, or it will not (e.g., if the…
-
It sounds like you're referring to the kind of link with "/scl/fi", which can enable editing access, and you're calling /2/sharing/list_shared_links without specifying a "path" value to list all shared links, but aren't seeing the "/scl/fi" links returned. These "/scl" links aren't standard shared links, so they don't get…
-
Dropbox doesn't offer programmatic control over an app's webhook configuration, but I'll be happy to pass this along as a feature request. To clarify though, do you want to be able to enable/disable a webhook URI entirely, or just register/unregister for webhook notifications for a particular user/team?
-
The /2/files/upload endpoint is a "content-upload" style endpoint, meaning that it expects the raw file data to be uploaded as 'application/octet-stream' in the request body. That being the case, you should send only the file data in the request body, without any additional encoding. I see in your code, for instance, that…
-
Yes, the change is still planned for September 30, 2021.
-
While the creation of new long-lived access tokens is now deprecated, we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s) without interruption. Note…
-
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/refresh…
-
There doesn't appear to be anything wrong in these lines, but it's possible the header name is getting corrupted elsewhere in the stack, before the value gets to your code.
-
That header name "X- ropbox-Signature" does look incorrect; it should be "X-Dropbox-Signature". I just tried this myself though, setting up a server to receive Dropbox webhook notifications, and I am receiving the correct "X-Dropbox-Signature" header name, not "X- ropbox-Signature", so there may be something on your…
-
We've added the ability to supply a DBAccessToken (which can contain a refresh token) directly which is available as of v6.2.0. Please give that a try and let us know if that doesn't work for you. Thanks!
-
To get nested entries like that, you'll need to set ListFolderArg.Recursive to true when first calling ListFolderAsync.
-
Thanks for the report. I'll ask the team to fix up that error handling so it returns a proper error in that kind of case.
-
Thanks for the detailed write-up! Yes, as you found, the Dropbox backend needs to perform some additional work immediately after a folder like this is created. There isn't a great way to check on this programmatically unfortunately, so please add a sufficient delay. I know this is non-ideal and can be slow, so I'll send…
-
@"fistuk" While the creation of new long-lived access tokens is now deprecated, we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, your users can continue using existing long-lived access token(s) without…
-
This should be working properly in the latest version of the SDK. Please give that a try and let us know if there are still any issues with that. Thanks!
-
When migrating a non-scoped app to scopes, the page will automatically select the scopes that match the legacy permission type of the app. (From there you can enable or disable scopes as needed.) For example, for a full Dropbox or app folder app, that will automatically include user scopes but not team scopes, since those…
-
The Dropbox API offers two different types of access tokens: long-lived and short-lived. Both types can be used to make Dropbox API calls. You can find more information on how the authorization system works in the OAuth Guide. * Long-lived access tokens do not expire automatically, though they can be revoked by the user or…
-
While the creation of new long-lived access tokens is now deprecated, we don't currently have a plan to disable existing long-lived access tokens. (If that changes, we will of course announce that ahead of time.) That being the case, you can continue using existing long-lived access token(s) without interruption. You are…
-
The Dropbox API unfortunately doesn't offer the ability to find files by date range like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
Use of a redirect URI is optional, and you can still request offline access to get a refresh token back without using a redirect URI. When not using a redirect URI, the user would just need to manually copy/paste the authorization code into the app. You can do that like this: First, get the authorization URL, requesting…