Greg-DB Dropbox Community Moderator

Comments

  • Yes, you'll need a Dropbox Business account for this. A free account won't work, but you can use a trial: https://www.dropbox.com/business I'll send this along as a request for a better way to test this.
  • Unfortunately, we don't currently have a good/documented way deep link to paths in the app like this, but I'll be sure to pass this along as a feature request.
  • I see you also posted in a few other threads. For future reference, please don't post the same questions in multiple places. I've removed the duplicate responses and I'll answer on this thread. The documentation for the properties endpoints can be found here, as you mentioned:…
  • The endpoint you mentioned is part of API v1, which is deprecated, so you should no longer use it. Instead, you should use API v2. To download a file via API v2, you should use the https://content.dropboxapi.com/2/files/download endpoint. You can find the documentation for that here:…
  • Thanks for the post. We'll be happy to help with this. Can you let me know what version of the library you're using, and share the code that reproduces this issue? Thanks in advance!
  • While in development mode, you can only link a limited number of teams to your app. By default, the limit is 1 team, but you can enable up to 5 using the App Console. Once you hit the limit you'll get this error. If you need to link more, you'll need to apply for production. You can find more information on this here:…
  • Please double check that you followed each step of the installation instructions exactly: https://github.com/dropbox/dropbox-sdk-obj-c#carthage If you miss any of them it can cause issues like this. For example, I believe missing the "Input Files" step has caused issues like this before. There was also a similar issue…
  • Thanks! I'll send this along. For reference, as it is right now, as you migrate to API v2, to record the user ID to account ID mapping you can call /2/users/get_current_account for the known user ID to get the account ID.
  • We don't document a guarantee for that, so I don't recommend relying on it. What's your use case for this though? The intent is that you should only need to use one or the other. I'll be happy to send along a feature request but some additional context would be helpful.
  • Yes, the old SDK worked in a different way, with some other options to set for the session that don't apply to the new SDK.
  • You don't need to use DbxRawClientV2. You can use tokenRevoke on DbxClientV2 like this: DbxClientV2 client = new DbxClientV2(config, ACCESS_TOKEN); // note: be sure to add error handling client.auth().tokenRevoke(); And if you're using the SDK, you don't need to construct the authorization URL yourself. There's an Android…
  • The new SDK doesn't have a concept exactly like that. As long as you call setupWithAppKey in application: didFinishLaunchingWithOptions: you should be fine. I'm not sure I understand your use case though. Is there a particular scenario you're concerned about that wouldn't work with that?
  • Thanks for the report. I just tried this and I can't reproduce this though. How are you timing this? Are you seeing this for all users/all calls? Also, note that if you're uploading files, you don't need to explicitly create parent folders first. If you upload a file to a path with folders in it that don't already exist,…
  • Thanks, I'll file that as a feature request. The rate limit is the same for production apps as apps in development.
  • Yes, using authorizedClient is the right way to check that. And that's correct, the new SDK doesn't use DBRestClientDelegate or DBNetworkRequestDelegate. To determine if an entry is a file or folder, you can use isKindOfClass to check the type, as shown here:…
  • The PHP Core SDK is a PHP SDK for accessing Dropbox API v1, a.k.a. the Dropbox Core API. API v1 is deprecated though, so you should no longer use that. You should use API v2 instead. We don't have an official PHP SDK for API v2, so you can either use a third party library or call the HTTPS endpoints directly. OAuth is an…
  • The SDK doesn't offer a way to automatically retry these requests for you, but you can catch them as shown here, in the isRateLimitError line: https://github.com/dropbox/dropbox-sdk-obj-c#generic-network-request-errors You can have your app decide what to do there, e.g., retry or not, depending on what you want your app to…
  • 1. This sounds like the same question as in your other thread, so I'll follow up there: https://www.dropboxforum.com/t5/API-support/API-v2-objective-c-rate-limit-error-hadling-configuration/m-p/207080#M10096 2. Production status doesn't affect the rate limiting system.
  • What error are you getting? There's an example of calling that endpoint via curl here in the documentation: https://www.dropbox.com/developers/documentation/http/documentation#auth-token-revoke By the way, if you're building an Android app, we recommend using the official Java SDK:…
  • The Dropbox API does have a rate limiting system, but we don't have any specific numbers documented. The limits operate on a per-user basis, and aren't different in production. It sounds like you could use a batch endpoint for thumbnails, so I'll send this along as a feature request for that. Also note that not all 429s or…
  • Edit: I see you also opened another thread for this. I'll follow up there: https://www.dropboxforum.com/t5/API-support/Revoke-access-token/m-p/207070#M10094
  • API v2 does operate differently than API v1, so the way you call it will be different. The URL https://api.dropboxapi.com/2/users/get_current_account is the right endpoint for getting the user's account information via API v2. You can find the documentation for it here:…
  • Hi Jiho, yes, this is available in the Objective-C SDK, but that's a known issue in version 2.0.6 in particular. You can use 2.0.5 as a workaround for now.
  • No, it's not possible to disable this, but I'll be sure to pass this along as a feature request.
  • The old iOS Core SDK didn't have good documentation unfortunately. Here are the relevant methods/documentation in the comments though: /* Loads the file contents at the given root/path and stores the result into destinationPath */ - (void)loadFile:(NSString *)path intoPath:(NSString *)destinationPath; /* This will load a…
  • Hi Doug, please open a ticket at https://www.dropbox.com/developers/contact with the following so we can look into this specifically for you: - the app name - the affected user ID(s) - a sample failed ****** ID - a sample failed path and URL Thanks in advance!
  • Yes, API v1 is still planned for retirement on June 28 2017. I can't make any promises, but I'll send this along as a request to extend that timeline. We're aware of the issue in the Objective-C SDK you linked to. We will be releasing a fix, but in the meantime you can use version 2.0.5 of the SDK (instead of 2.0.6) as a…
  • Unfortunately, I don't believe the .NET SDK is supported on Visual Studio 2010. I recommend upgrading to at least 2012 if possible. For reference, the SDK is open source here: https://github.com/dropbox/dropbox-sdk-dotnet
  • No, there isn't a way to trigger various errors like that (short of actually producing the relevant conditions), but I'll pass this along as a feature request.