Comments
-
@"evry1falls" The error originally mentioned here occurs when your app attempts to use a redirect URI that you haven't pre-registered for it, so double check that you've registered the exact redirect URI that you're using. You can find more information on how to do so in my earlier comment.
-
Yes, using a full Dropbox API app to upload to a shared folder like that would work.
-
I don't have an update on this from the team yet. I'll follow up here once I do.
-
Thanks! I see you don't actually have the "Handle redirect back into SDK" step implemented in your AppDelegate.swift. Please make sure to add that as documented. Also, I noticed from your use of 'UIApplicationSceneManifest' in your Info.plist that this uses scenes, so make sure you also implement the handler…
-
Thanks, that's helpful. Can you confirm you used the API to create and delete the folder as well? It looks like I was doing something different in my test which resulted in a different behavior. We'll look into the behavior you're seeing.
-
If you only need to upload the files to a single folder via the API and don't need to otherwise share the folder with others via Dropbox, the best thing to do here would be to register an app for the "app folder" permission. Access tokens for apps with this permission can only access the special "app folder" created for…
-
No, the Dropbox API unfortunately still does not offer a way to retrieve the app name like this.
-
Yes, when I refer to "teams", I mean Dropbox "Business teams". The "Development Teams" number listed for your app on the ap's page on the App Console is not exactly the number of times the OAuth flow was executed for the app, but rather how many distinct teams have been connected to the app. While any particular user…
-
Using the Dropbox API v2 .NET SDK, to suspend a member you can use the MembersSuspendAsync method, and to delete a member you can use the MembersRemoveAsync method.
-
Please note that file IDs are case sensitive, and can vary only be case, so you should always use case-sensitive comparisons. In the sample you shared here, the file IDs are different by case. The second to last characters use different cases.
-
Thanks for checking that. Can you also check: * Are you using the latest version of the SwiftyDropbox SDK, currently v5.1.0? If not, please upgrade to that and try again. * Does your app happen to use scenes? If so, please try the change covered here: https://github.com/dropbox/SwiftyDropbox/issues/259 Otherwise, please…
-
No, unfortunately I can't think of any other workarounds for this.
-
I don't believe we have any documentation or guarantee on when you might expect to see more than one team per notification unfortunately. If/when that happens though, it would still just be signed with the same app secret for your app. A single app can be used to connect to multiple different teams. The app key/secret…
-
If you call /2/sharing/list_shared_links without specifying the "path" parameter, it should return a list of all of the shared links for the connected account. You could then check the list of files against that entire list of shared links. That would likely be faster than calling /2/sharing/list_shared_links for each one.…
-
I don't believe the Dropbox API OAuth 2 authorization code exchange uses the client's time. In fact, the client isn't supposed to send its client time in the /oauth2/token HTTP request anyway. The authorization code itself does expire though, after a few minutes (based on the Dropbox server time when the code was issued…
-
Thanks for the report! This looks like this may just be an issue on our side. We'll look into it. I'll follow up here once I have an update on this from the team.
-
I see, thanks for the additional context. I can't think of a better system for this use case unfortunately.
-
The public Dropbox API doesn't offer a direct way to get the total size of a folder, or to get the size of cloud file content, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The functionality you found on the web site is not part of the public Dropbox API…
-
You have the right idea here. As you found, some cloud files, such as Paper docs, can't be downloaded via the normal Download method. You need to use Export for those instead. You can either just try to Download the file and catch the UnsupportedFile error, at which point you would use Export instead, or you can check the…
-
Thanks for sharing that. Do you get any errors or output in the console in Xcode though? I see that the action is being submitted and that the SFSafariViewController is attempting to redirect to the custom URL scheme though, as it's momentarily shown in the title bar, so I would expect some error if that fails.
-
Yes, the webhooks format is designed to support multiple teams per webhook notification, so please make sure your implementation is written to handle that possibility.
-
The Dropbox API unfortunately doesn't offer a way to register an app or access token for access to a specific existing folder only, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The closest thing currently available is the "app folder" permission. That would…
-
1. No, the user does not need to have the official Dropbox app installed on their device in order for your app to connect to Dropbox. The Dropbox API operates by having the third party app communicate directly with the Dropbox API servers. 2. For integrating with the Dropbox API in Swift, we recommend using the…
-
I'm afraid I can't write the necessary code for you, so I recommend referring to the documentation and my earlier replies for information on the expected request format for the Dropbox API so you can debug and update your code to consume the API properly. If you discover any bugs with the Dropbox API please let us know of…
-
We're not currently set up to provide API support over the phone or chat, but I'm happy to help here in the forum.
-
No, the Dropbox API doesn't offer an endpoint for retrieving these particular pieces of metadata for video files, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. The Dropbox API does offer some media information via /2/files/get_metadata though,…
-
All Dropbox API upload sessions expire after 48 hours. If you start one and never complete it, it will become invalid 48 hours after it was started and the data will not be committed. If you call to finish an upload session but don't receive the response, e.g., due to a network issue, it's possible the request did still…
-
The Dropbox Java SDK does define a number of dependencies, but it sounds like the issue here is more about your platform's system for finding and installing dependencies, rather than using the Dropbox SDK itself. That being the case, I'm afraid I can't offer help for this, as AEM OSGi isn't made by Dropbox. You may be…
-
That's correct, 'parent_shared_folder_id' isn't guaranteed to be set. It is only set if the item is inside a shared/team folder. Some or all of a user's files and folders may just be in their own private folder, and not shared with anyone, in which case 'parent_shared_folder_id' will not be set.
-
The value you pass in the "Dropbox-API-Arg" header should be a JSON string containing the parameters you want to use for the /2/files/upload call. You can find information on each of the parameters here: https://www.dropbox.com/developers/documentation/http/documentation#files-upload I do recommend using a JSON library to…