Comments
-
Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens, which expire after several hours, (and optional refresh tokens, which don't expire) instead of long-lived access tokens. You can find more information on this migration here. The "Generate"…
-
It looks like the issue is that the command is formatted for curl, but 'curl' on your system is actually running Invoke-WebRequest. You can find information and a solution in the following posts: * https://www.dropboxforum.com/t5/Dropbox-API-Support-Feedback/Issue-in-generating-access-token/m-p/618059/highlight/true#M28456…
-
I just tried using the Dropbox Java SDK v5.4.4 directly, and I was able to successfully call ListFolderBuilder. I understand you're using "TalendStudio" though, with this Dropbox functionality with a "tDropboxList" method. That's not made by Dropbox, so we can't offer support for that in particular. You may want to reach…
-
The Dropbox OAuth app authorization flow is a way to have the user authorize the app to access their own Dropbox account. If your app is only meant for connecting to your own account, you would only need to process that flow once for your own account. You can store and re-use access tokens/refresh tokens for your own…
-
1. The /2/sharing/add_file_member endpoint allows you to share specific files with specific users. That access does not expire automatically, but you can programmatically revoke it whenever you need using the /2/sharing/remove_folder_member endpoint. Alternatively, the /2/files/get_temporary_link endpoint returns a…
-
The ListFolderMembersAsync method also returns invited users who haven't joined yet, in SharedFolderMembers.Invitees (as opposed to SharedFolderMembers.Users). You can remove any of those invitees using RemoveFolderMemberAsync.
-
@"swa22" Thanks for the additional information. I'll check in with the team on this.
-
@"Esikhoob" The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. As Здравко said, you can send files to just your own account, though you should not expose any access tokens or refresh tokens for your account to other users. And as they…
-
@"swa22" Thanks for the post. We'll take a look and see if we can get some more clarity on this for you. For reference, you do not need to set the 'Dropbox-API-Path-Root' header when calling /2/users/get_space_usage. As for reconciling the output of get_space_usage with the totals you see when using list_folder, if that's…
-
I see you're attempting to use /2/files/upload_session/start, /2/files/upload_session/append_v2, and /2/files/upload_session/finish to upload files. These are "content-upload" style endpoints, meaning they require the file data in the request body, with the "application/octet-stream" type. And being upload session…
-
@"lymanhurd" Thanks for following up and clarifying. Dropbox does not offer an API for retrieving the specific details for file request submissions like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. That being the case, you'd need to create unique file…
-
@"Esikhoob" PKCE is a feature of the OAuth 2 specification. For more information on it, in addition to our own OAuth Guide and authorization documentation, you may be interested in reading the OAuth 2 PKCE specification and resources.
-
@"nishu-pixofix" No, the Embedder doesn't offer a way to programmatically detect error cases like that, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
This should be working again now.
-
Yes, this should be working again now.
-
Thanks for the note. We'll look into it.
-
@"nishu-pixofix" There's nothing you should do to work around or mitigate the issue. The team is working on resolving it on our side.
-
If these are failing after an hour, that would be due to the server timeout. There isn't an option to delay or prevent that. Content-download style endpoints, such as /2/files/download, support "range requests" though. I recommend using range requests to continue downloading the rest of the data if a connection fails, and…
-
Thanks for the report! We'll look into it and I'll follow up here once I have an update.
-
Thanks for the report! We'll look into it and I'll follow up here once I have an update.
-
From the error message, it seems that the issue is that JSON.parse is not set to a function. The Dropbox Chooser functionality does use JSON.parse, and that should be available built-in to the web browser as that's a standard function included in web browsers. I can't offer support for mootools or any other particular…
-
@"roosterzappa" Thanks for sharing that!
-
We just made an update that should help with this. Please try again and let me know if you're still seeing this. Thanks!
-
@"RWMOREY" Thanks for the note. I don't know why your comment was posted in this thread, but I've now moved it to the "Searching for a specific file type" thread for you.
-
Thanks for the feedback!
-
@"idanarie" Are you using an API app registered with the "app folder" access type? There's currently a bug that results in this error when using this method with an access token for an app folder app. That's still open with engineering, but I don't have a timeline on a fix.
-
@"rbchapman" Thanks for following up. It sounds like what you want is to set 'include_has_explicit_shared_members: true' when calling /2/files/list_folder, so you can get 'has_explicit_shared_members' for the files in the results (and then call /2/sharing/list_file_members as needed).
-
The search endpoints don't support searching within a shared link, but you can use /2/files/list_folder[/continue] to list the contents (and filter client-side as needed) as you mentioned, so I suggest trying that to see if it would be sufficient for your use case. To do so, you would specify the shared link URL in the…
-
For reference for anyone looking for information on setting the root, please refer to the Team Files Guide.
-
@"AlvaroHuertas" Looking at the error and code, as Здравко said, it looks like you're trying to use a feature that your app is not actually configured for. For example, if your app is not team-linked, you wouldn't use as_admin. And for information on how to access the team space, check out the Team Files Guide.