Greg-DB Dropbox Community Moderator

Comments

  • Thanks for the feedback! I'll pass this along to the team.
  • The Dropbox server IP addresses are subject to change, so you should never rely on hard-coded IP addresses. You should use the hostnames instead. For the main API servers, that's 'api.dropboxapi.com'. For the content API servers, that's 'content.dropboxapi.com'. (You can find the relevant hostname for each endpoint in the…
  • While this may happen to work, I can't guarantee this will always work, since this isn't officially documented for use like this. I'll pass this along as a feature request for an official way to do this though.
  • To access file content, you can use /2/files/download. Once you retrieve the content for any particular file, you can display the desired portion of the content in your UI. By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those…
  • Yes, it sounds like you have this all correct, except that, if I understand your use case correctly, you shouldn't have to create multiple templates. A single template can have multiple fields, so you could create the, for instance, 5 different tag fields, like you mentioned, but on the same template. 
  • @"cris3c" Did you see my comment from earlier? Please refer to the links there for a number of useful resources. If something isn't working as expected, or you're stuck on something, perhaps you could share what you have so far and what problem you're currently seeing.
  • Right, you need to make sure you're actually calling handleRedirectURL. (In the code you posted, that was missing.) If you are using scenes, you need to also do this in SceneDelegate.swift. (Apologies that isn't documented yet.) The SDK has changed a bit since the code in that issue was written, but you can do it like…
  • @"RudyVDW" If you're an end-user of a third party app, such as "Allways Sync", that connects to Dropbox, you should not have to manually contact or register anything with Dropbox to set it up. The developer should register the app themselves, and build the ability to connect your account to the third party app. (This would…
  • The Java SDK (and the rest of the SDKs) all use the same HTTP API. The example in the documentation for the HTTP API itself is incorrect in this case. (The documentation sometimes re-uses example objects across endpoints, which in this case is wrong because the example happens to include 'property_groups', though the…
  • @"kaamoo_api" This should have been fixed by v2.18.1 of requests. It sounds like perhaps your app on your phone somehow isn't actually using that version. Can you try adding some logging to see what version is actually being used there?
  • To use the Dropbox API from an Android app, we recommend using the official Dropbox API v2 Java SDK. With that, you can use the download or downloadBuilder methods to access file data from the connected Dropbox account. There's an example of calling the download method in an Android app here. While that example happens to…
  • @"ivs1234" No, unfortunately I don't have an update on this request.
  • @"Edlo11" You seem to be missing some of the relevant code in your fixed version. Make sure you're following the instructions as currently documented. Please update your code accordingly, and make sure you're using the latest version of the SDK, and let me know if that's still not working. Thanks!
  • 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 your access token *…
  • I'll pass this request along (though we'd also run in to the same issues with Cocoapods/Carthage anyway). It looks like there are some workarounds available in the Carthage issue while they work to resolve this properly, so you may want to use one of those to get running for now. (Or, likewise use Cocoapods 1.10, which…
  • @"IanHarker" This issue is still open with engineering, but I don't have an update to share yet.
  • No, unfortunately the only officially supported installation methods for the Dropbox API v2 Objective-C SDK use Cocoapods or Carthage, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. 
  • Thanks for following up. It looks like this is due to that Carthage issue. We can't officially offer support for Carthage itself as that's not made by Dropbox though, so I'll have to defer to the information in the Carthage issue regarding this. It looks like that's currently still open. For reference though, one way to…
  • I recommend reading the "Detecting Changes Guide" here: https://www.dropbox.com/lp/developers/reference/detecting-changes-guide That covers the options for efficiently detecting and listing just the changes that have occurred since you last checked, e.g., using the "cursor" functionality on /2/files/list_folder[/continue].…
  • No, unfortunately searchV2 doesn't offer a way to include file properties in the results like this, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. There is a propertiesSearch method, if that helps for your use case, but note that only allows you to directly…
  • [Cross-linking for reference: https://stackoverflow.com/questions/64454739/using-server-side-ss2-x-to-upload-files-to-dropbox-body-encoding-issue ] I can't offer help with the NetSuite side of things, as that's not made by Dropbox, but for reference, the /2/files/upload Dropbox API endpoint is a "content-upload" style…
  • @"dhyanP" It sounds like the original poster here did get this working by iterating through the different result pages as needed and indicated by the 'has_more' value. Please see my earlier comment for more information. Is that not working for you?
  • Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers For example, to access Dropbox file content directly, you…
  • This "No scope requested can be granted for this app" error message indicates that none of the "scopes" being requested during the authorization flow are registered for the app. When using a scoped app, the developer needs to enable all of the scopes that the app will need before initiating the authorization flow with…
  • This error message indicates that your API app has the "app folder" access type, but you're supplying the "Dropbox-API-Path-Root" header. For example, in the Dropbox API v2 JavaScript SDK, you might be setting that via the pathRoot option on the Dropbox object. Apps with the app folder access type are restricted to their…
  • @"sosnos" We recommend using the latest version of the official Dropbox SDK. You can find the official API v2 Dropbox JavaScript SDK here, including the official documentation and examples. That does contain the 'getAuthenticationUrl' method, documented here. You can find an example of using that here.
  • Thanks for the following up with this additional information. An 'invalid_root' error like this means: The root namespace id in Dropbox-API-Path-Root header is not valid. The value of this error is user's latest root info. That is, you're sending the wrong value up in withPathRoot. Note that a user's root namespace ID can…
  • Thanks for the additional information. If you use the official Dropbox API v2 Java SDK as provided, it should automatically send the app authorization flow through the system browser, not a webview. It sounds like you're still using a webview in this case though, even with the SDK. Please note that, regardless of system…
  • Thanks for the post. I've sent this along as a request for a way to get a reference to the window. I can't promise if or when that might be implemented though. As for the potential bug, I'm not sure if I follow the scenario exactly. Can you elaborate and provide some mored detailed steps for reproducing it? Perhaps you can…
  • No, unfortunately I don't have an update on this feature request.