Comments
-
Depending on your use case, you may want to add the `force_reapprove` or `force_reauthentication` parameters. Please refer to my earlier posts on this thread for more information about those. Since those aren't implemented in the JavaScript SDK, you'd need to parse and modify the `authUrl` value in this code to add one of…
-
A path/conflict/file error indicates that the upload failed because a file already exists at the path specified. You'd need to remove/rename the existing file, use a different file name for the upload, or use a different write mode to get that call to succeed. You can find more information in the documentation:…
-
[Cross-linking for reference: https://stackoverflow.com/questions/48367992/how-to-know-my-doc-path-in-dropbox-so-i-can-call-list-rev-api-url ] The /2/files/list_revisions endpoint accepts a file path or ID, and returns the file revisions for that specified file. To get the file path/ID, you can get file metadata via a…
-
In that example, you're using /1/files to access file data. In API v2, the replacement is /2/files/download: https://www.dropbox.com/developers/documentation/http/documentation#files-download That's a "content-download endpoint", so the standard way of using that is via a POST with 'Authorization' and 'Dropbox-API-Arg'…
-
The file properties functionality is now available in the latest version of the Java SDK (currently v3.0.6), e.g., as ListFolderBuilder.withIncludePropertyGroups.
-
Apologies for not following up on this earlier. This has been fixed in the copy endpoint.
-
This should be fixed now. Please let me know if you're still seeing this ServerException.
-
@"MathanKumar" I've sent this along as a request to the team, but unfortunately we don't currently have any plans to raise the requirement.
-
Using redirect_uri to set a redirect URI for the OAuth app authorization flow is the correct way to automatically receive the resulting code or token. It looks like you already have that, and the Dropbox web site is serving the redirect requested. After that, the browser/computer/user is in control of what happens, e.g.,…
-
Thanks, in that case, please open an API ticket with the specifics (i.e., the relevant app ID, user ID, webhook URI, and path and timestamp of a file change) so we can look into it for you: https://www.dropbox.com/developers/contact
-
That ValidationError should be fixed in the latest release of the Python SDK, currently v8.6.0. Please update to that and try again.
-
It looks like the 'code' variable here would be the "authorization code" used during the OAuth app authorization "code" flow. You can find more information on how this works in the OAuth guide: https://www.dropbox.com/developers/reference/oauth-guide and the OAuth documentation:…
-
Webhook notifications will only be sent for changes in the accounts of users that are "linked" to your app. Can you check that you have linked your account to your app and that you are making changes in that account?
-
Thanks for the feedback! I'm sending it along to the team.
-
@"anthonyhaffey" The user's web session, that is, the account signed in to the Dropbox web site, is separate from the API client's access, that is, the account identified by the access token your app has. If you're trying to switch the account logged in to your app, make sure you throw away the old access token, as that…
-
That's correct, the team has deployed a fixed for this. Thanks for your help tracking this down!
-
2. Regardless of the type of app, the redirect URI would be the URI where you want to send the user back to after they approve your app to access their account. I can't offer guidance on how to build a Chrome extension in particular, but I know Chrome extensions sometimes use "chrome-extension://" URLs for their option…
-
No, unfortunately the API doesn't expose a way to retrieve this, but I'll pass this along as a feature request. The getTemporaryLink method only returns a link that points to the original file data.
-
The documentation does cover each error message, but note that errors are nested, so you need to click through to expand the ones you want to read about. For example, to see the `malformed_path` error (and others) for /2/files/get_metadata, click on the `LookupError` type listed for the `path` error in the "ERRORS" section.
-
1. We don't have any specific resources for Chrome extensions/Angular JS in particular, but the API itself can be used anywhere you can make HTTPS calls. 2. The redirect URI for your app is specific to your app, and would depend on your app's setup, so I can't say off hand what it should be for your app. 3. While we don't…
-
Hi Erik, I'm very sorry to hear about the trouble you've experienced. Dropbox doesn't offer the sort of development assistance you're looking for here, but I'm sending this along to the team as feedback in case it's the kind of thing Dropbox can work on in the future. I know there are some third party developers on this…
-
I see, thanks for clarifying. The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. However, it is technically possible to connect to just one account. The SDKs don't offer explicit support for it and we don't recommend doing so, for various…
-
I'm not sure I understand your latest question. Can you share the steps to reproduce the issue, and the full error/output you're getting? Thanks in advance!
-
Dropbox doesn't offer a way to automatically create API apps. The Dropbox API rate limiting system does work per-app-user though, so using a single app should be fine anyway.
-
@"noornoor12gmal" If you're having trouble with the Dropbox API, please open a new thread with the details of the issue. Thanks!
-
No, unfortunately I don't have a timeline for if or when this might be added.
-
The Dropbox API doesn't offer the ability to sort/order files server-side, e.g., when using /2/files/list_folder[/continue], but I'll pass this along as a feature request. The order they are returned in is the order you should process them in, in order to receive an accurate representation of the remote state of the…
-
Apologies, I should have mentioned, in order to get the behavior you're looking for, you'll also need to set `autorename` in addition to using the 'add' write mode, e.g.:…
-
The documentation covers every possible error, but it doesn't include full sample JSON for each one. I'll be sure to pass this along as feedback.
-
In this code, you have `open url` inside your `didFinishLaunchingWithOptions`, but it should just be its own method in your app delegate. There's a sample here: https://github.com/dropbox/PhotoWatch/blob/master/PhotoWatch/AppDelegate.swift#L25