Greg-DB Dropbox Community Moderator

Comments

  • 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
  • No, we don't have anything like that, but I'll pass that along as a feature request.
  • I wasn't able to reproduce this myself, but if you can provide a sample project that reproduces the issue, we'll look into it.
  • I just tried this with the same versions of SwiftyDropbox and iOS, and it is working properly for me. Unfortunately if it's not getting called at all, it sounds like an issue with iOS itself, so I can't offer much help, and you may need to debug this on Apple's side. Can you check that you only have one `open url`…
  • We do still return the older "text/javascript" by default for historical reasons, in order to not break old integrations. If you send the "Accept: application/json" request header though, you'll get "application/json" instead.
  • That code looks right, but there's currently an issue with the SDK that can result in that ValidationError. We're looking into it. I'll let you know when I have an update on it.
  • Thanks! That looks correct. So to clarify, are you sure `open url` itself isn't getting called, or does it appears `handleRedirectURL` isn't working properly? To check, please add some logging immediately inside `open url` (i.e., before `handleRedirectURL`). If it does get called, it would help to log and post the `open…
  • The team_reports_get_devices, team_log_get_events, and team_log_get_events_continue methods are accessible to team auditing apps, so you can use those if they're sufficient for your use case. The team_reports_get_devices method gives you statistics about the numbers of devices, but team_log_get_events,…
  • Thanks for the report! That looks like a bug on our side. We're looking into it.
  • Yes, we have documentation for each of our official SDKs, as well as the HTTP interface itself.