Greg-DB Dropbox Community Moderator

Comments

  • How long each call takes, as well as how long it takes to list everything, will vary from account to account, e.g., based on the number of files/activity, so I can't offer a guarantee on how much time it would take. Each call to a ListFolderAsync or ListFolderContinueAsync method makes one call to the Dropbox API, with…
  • @"aissa" Ce sujet concerne les développeurs qui écrivent du code pour interagir par programme avec l'application Android Dropbox. Si vous avez besoin d'un support utilisateur pour Dropbox, ouvrez un nouveau fil ou un support de contact. --- Veuillez excuser nos traductions. Nos traductions ont été créées à l'aide d'un…
  • Thanks for the report! It looks like there's a good amount of code here, and I won't be able to run it, since it contains things from your app, like `WCPURLHelper`. Can you isolate just the portion(s) of Dropbox related code that results in these issues so we can look into it? We'd first need to be able to reproduce the…
  • It sounds like you're having trouble importing the Android support library, as opposed to Dropbox itself. I can't offer much help with that, but there's a post about it here: https://stackoverflow.com/questions/30803405/cannot-resolve-symbol-appcompatactivity-support-v7-libraries-arent-recognized By the way, it looks like…
  • Once you have a cursor, e.g., from a previous call to listFolder or listFolderContinue, you can later call back to listFolderContinue, passing in that cursot value, to get information on only what has changed. There's a basic example here. That example is mainly for paging through current results, but it works the same way…
  • Thanks! We'll look into it.
  • That seems to be the POST to your own site. Can you share the information I requested for the Dropbox API call itself? Thanks in advance!
  • Thanks for the report. To help us look into this, please share: - the full error output - the relevant cursor(s) - the affected user IDs Thanks in advance!
  • [Cross-linking for reference: https://stackoverflow.com/questions/45443818/dropbox-v2-api-for-android-has-no-error-code-for-space-full ] v2.0.1 is relatively old, and there have been a number of bug fixes since then, so please update to the latest version and let me know if you're still seeing this. The latest version is…
  • Can you share the steps and code to reproduce the issue? Thanks in advance!
  • No, I don't have a timeline to share.
  • That feature is in the process of being rolled out, so it will be set for some users and not others. The field is marked optional, so make sure your app doesn't rely on it being set.
  • It sounds like you're referring to the response from /2/sharing/get_file_metadata. That endpoint is released and is not in preview/beta, so you can use it in production. The SharedFileMetadata.preview_url is documented as "URL for displaying a web preview of the shared file." The SharedFileMetadata.link_metadata.url is…
  • https://api.dropboxapi.com/oauth2/token is the correct URL. You can find the current documentation here: https://www.dropbox.com/developers/documentation/http/documentation#oauth2-token
  • That's correct, folders are not considered to have revisions. File revisions are stored for 30 days by default, or longer depending on the account type/features: https://www.dropbox.com/help/space/older-versions
  • [Cross-linking for reference: https://stackoverflow.com/questions/45430985/adding-dropbox-credential-hardcoded-in-android-instead-of-asking-the-client ] The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files. It is technically possible to…
  • Dropbox doesn't offer any sort of API for querying the status like this unfortunately. I'll send it along as a feature request.
  • Thanks! That is the response we're looking for. The /2/files/get_temporary_link documentation covers what the 'not_found' error means. In this case, it does mean there was nothing found at the path supplied in the 'path' parameter. How are you checking that the folder does contain 1.dcm and 2.dcm? Be careful checking via a…
  • Thanks! That "HTTP/1.1 409 Conflict" is part of the API response, but it's only the status line. Can you print out the rest? The response body should contain a specific error.
  • Does this happen on every attempt, or only occasionally? Can you share the full error output?
  • Thanks! By the way, it looks like you're not using the official Dropbox API v2 Java SDK. We do highly reccomend using it, if possible. In any case, whether or not you're using it, it does just look like this error is due to intermittent DNS issues, so you should look into why your DNS queries may be failing occasionally.
  • No, unfortunately there isn't an interface or notification system provided for this. I've sent this along as a feature request.
  • Using instanceof is the right way to check the type of a Metadata object, as shown in this example. Note that FileMetadata, DeletedMetadata, and FolderMetadata are mutually exclusive though. That is, any given Metadata object can only be one of those three subclasses, but not two of the three. For example,…
  • Based on your other thread, it sounds like you're only using the Chooser/Saver, so you don't actually need to apply for production. (For future reference though, if you were using the Dropbox API itself, you could request a review before you have linked users by requesting an "early review". There's more information about…
  • First, you would enable additional users for your app via the App Console. It sounds like already did that, based on the "0/500" figure you shared. Then, you would distribute your app to your testers to link to your app normally, as if the app was already released for real. Based on your description of "they have…
  • This error message indicates an issue with the third party app's configuration. The developer of the third party app will need to correct the configuration of their app to fix this. You may want to reach out to them to ask them to fix it.
  • [Cross-linking for reference: https://stackoverflow.com/questions/45397501/dropbox-does-not-auto-rename-file-during-upload ]
  • There's no accumulating penalty. The additional calls will just receive the 429 response with the Retry-After value. The Retry-After value is generally not more than a few minutes. (I believe the Retry-After value may effectively get reset with each rate limited call within the rate limiting window, but if they're all…
  • I'm glad to hear you sorted that out already. For reference though, it looks like you're using a third party SDK. As it's made by a third party, we wouldn't be able to provide support for it. Also, it unfortunately looks like that SDK uses the old Dropbox API v1, which is deprecated, and going to be retired soon. You…
  • Thanks! That's helpful. So, the "Invalid URL" error isn't coming from the API itself, but rather just from this line of code: if ($response === false) { $response = "Invalid URL: ".$url;/*echo "Problem reading data from $url.";*/ } That will occur if `$response` is false, and `$response` will be false based on…