Comments
-
Yes, Dropbox issues short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further…
-
In the /2/sharing/list_file_members output you shared, I see the result has "is_inherited": true. Per the /2/sharing/list_file_members/batch documentation, "Inherited users and groups are not included in the result", so this is the expected behavior.
-
The Dropbox API does not offer the ability to search in multiple paths in a single call, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. Instead, you should issue one call per path. (Alternatively, you can omit the 'path' entirely, in which case the search will…
-
@"mikechiu" If you want /2/sharing/list_shared_links to return parent links you should set "direct_only" to false, or omit it entirely. That should return parent links, even in a team space, but as Здравко noted, that will only occur if there are parent links to return. From your description, it sounds like there weren't…
-
When uploading files to Dropbox via the Dropbox API, Dropbox will save whatever data you supply, so you'll need to make sure you're sending the exact correct data you want saved. In your code, I see you're calling the filesUpload method to upload the file. When doing so, you supply the data you want to upload in the…
-
Regarding the 'no_write_permission' error, I suggest opening an API ticket with the full details of the API call you're making so we can look into that more specifically for you. Please redact just the access token. Yes, you can use the /2/users/features/get_values user endpoint to check which features a particular account…
-
By default, apps in development status can only be connected to the app owner's account, but you can enable other accounts to connect. Please refer to the documentation here for information on how to configure that: https://www.dropbox.com/developers/reference/developer-guide#production-approval
-
Unfortunately Dropbox doesn't offer an API for accessing comments, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.
-
The Dropbox API does not offer an option for controlling that kind of reporting behavior. On Dropbox, the deletion of a parent implies the deletion of all of the children of that parent.
-
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. To get started, I recommend reading the Getting Started Guide. For information on how the…
-
Yes, when an app doesn't use team scopes, it gets connected to a specific account, not the entire team. When an app uses team scopes, it gets connected to the entire team, not just a specific account. So, when an app doesn't use team scopes and is connected to a specific account, there is only one relevant account and so…
-
The NamespaceMetadata.team_member_id is only returned for team member folders or app folders, not shared/team folders, so it wouldn't be returned for your "ManagedIntake". That means that you're not actually setting a value in as_user, resulting in that error. If you have a team-linked client like this, you'd need to get a…
-
[Cross-linking for reference: https://github.com/dropbox/dropbox-sdk-java/issues/520 ] @"pramodkr200" I understand that you are attempting to list all files/folders using listFolder. Note that this functionality is paginated and you are not guaranteed to get all of the results back in a single listFolder call, so make sure…
-
By default, API calls to the Dropbox API operate in the "member folder" of the connected account, not the "team space". That means that by default, the contents of the team space will not be found. From the screenshot you shared, the "ManagedIntake" folder is in the team space. API calls can be configured to operate in the…
-
Thanks for following up and sharing that. Unfortunately it's not clear why that may be happening for those users, so I suggest raising this with support so they can investigate.
-
@"bild_film" Thanks for the note!
-
@"bild_film" Thanks for the feedback!
-
@"bild_film" Thanks for the feedback! I don't have any news on this right now, but I'll follow up here once I do.
-
@"VijayKumar E" As Здравко said, if the path values are not set, that indicates that the item is not currently mounted under that account/root. For sharing information, you can check the 'sharing_info' field which would be set if the item is in a shared folder. Check out the documentation for /2/files/search_v2 for more…
-
You can find the information for any particular field/value for the Dropbox API in the documentation. For example, it sounds like you're referring to the 'id' and 'rev' values, such as in the FileMetadata type as returned by /2/files/get_metadata, for instance. In the documentation there, the 'id' field value is specified…
-
This is now available out of beta. More information can be found here in this new announcement.
-
@"Carpetes" As Здравко noted, from your code it does look like you are not building valid JSON. For instance, it looks like you're missing a quote and a comma after the $TargetFilePath in your $arg. Make sure you're building valid JSON when making these calls. For this reason, we generally suggest using some JSON library…
-
Is this the exact code you're running? I just tried this code myself and it worked successfully for me. When I plugged in an access token, it printed out the account information and did not throw that error. The getCurrentAccount method is implemented here.
-
@"fbx_dsb" The Dropbox API doesn't offer access to that "Recents" information, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though. As Здравко said, it looks like the file wasn't directly shared to you specifically (e.g., it may have been accessed by a link instead),…
-
@"user44" As Здравко said, you can use the getTemporaryUploadLink, upload, and/or uploadSessionStart functionality to upload files. Likewise, for downloading, there's the getTemporaryLink and download functionality. As for how to call such methods with DbxClientV2, check out the examples in the readme and in the examples…
-
Apologies for the confusion. The Dropbox API is officially supported, and you can find the support resources for it on this page. As for the issue you're seeing, I understand that you are attempting to list all files/folders using /2/files/list_folder. Note that this functionality is paginated and you are not guaranteed to…
-
For items like that which can't be downloaded using /2/files/download, you should use /2/files/export instead. I'll bring this up with the team to see if they're ready to remove the "preview" label for that endpoint.
-
@"Adi4" Здравко is correct; Dropbox is no longer offering the option for creating new long-lived access tokens. Dropbox is now issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here. Apps can still get long-term access by…
-
This should be working properly again now. Please let us know if you're still seeing this issue. Thanks!
-
Thanks for the report! We're looking into it.