Discussions
-
How to get the file type of a file in Dropbox account.
I need to get the detail information of a file in the Dropbox account. There are 2 fields I could not find in the file metadata are: - File version number. - File type. For the file version, I can have the revision number on that filed, even though it is kind of strange because it a string of letters not a string of…
-
How can I get the file metadata from the file ID of a shared file in the team Namespace.
I am writing an application that monitor the file events for the team; we have a team namespace and I am using the Refresh Team Token for the API in Java. The information I get from the event in the Event Log for a file event is not enough for my use. It does not have the File Hash Content, file size most of the time is…
-
"users/get_current_account": Invalid select user id format error.
I have a test program and it works fine in Windows 11. When I ported the code into Centos 7 and ran it, it returned an error: com.dropbox.core.BadRequestException: Error in call to API function "users/get_current_account": Invalid select user id format I am using Java 8 and Dropbox SDK version 4.0.1. This is portion of the…
-
dbxClient.files().listFolder("") only returns 1 folder
I want to list all the files under my member ID. I use the following code and it only show 1 folder even though I have 8 folders starting from root. DbxClientV2 dbxClient = dbxTeamClient.asMember(teamMemberId); ListFolderResult fileRes = dbxClient.files().listFolder(""); List<Metadata> folders = fileRes.getEntries();…