Hello Group,
I am trying to do a simple copy/move of one of my files from one folder to another:
SOURCE FOR EXAMPLE:
/my_pictures_and_videos/01 dump yard/aarav (hridansh)/test.jpg
DESTINATION FOR EXAMPLE:
/my_pictures_and_videos/diya/photos/
code that I am writing for the same:
DbxClientV2 client = new DbxClientV2(config, ACCESS_TOKEN);
client.files.copyV2("/my_pictures_and_videos/01 dump yard/aarav (hridansh)/test.jpg","/my_pictures_and_videos/diya/photos/");
Please note that I have verified the paths every thing is correct.
Exception I am getting is
Exception in thread "main" com.dropbox.core.v2.files.RelocationErrorException: Exception in 2/files/copy_v2: {".tag":"from_lookup","from_lookup":{".tag":"malformed_path","malformed_path":null}}
at com.dropbox.core.v2.files.DbxUserFilesRequests.copyV2(DbxUserFilesRequests.java:510)
at com.dropbox.core.v2.files.DbxUserFilesRequests.copyV2(DbxUserFilesRequests.java:533)
at org.polymath.dropbox.test.ConnectivityTest.main(ConnectivityTest.java:32)Also the code does work for very simple paths like /getting start.pdf which is root to another file in the same directory