I am trying the to download/delete the file using unique Ids but I am getting error saying ----- "String 'path' does not match pattern"
Following is the code snippet :
FileOutputStream out = new FileOutputStream("/home/vartika/Desktop/abc.jpg");
try {
FileMetadata downloadedFile = dbxClient.files.downloadBuilder("id:qQTA507FJn8AAAAAAAAAMA").run(out);
System.out.println("Metadata: " + downloadedFile.name);
}
finally {
out.close();
}
Can you please guide me through it ?