Hello,
I'm performing some test with /copy_batch, and I found that if I add two copies of the same file, for example:
"from_path":"/folder1/file1.txt","to_path":"/folder1/file2.txt"
"from_path":"/folder1/file1.txt","to_path":"/folder1/file3.txt"
I get this error:
{".tag":"failed","failed":{".tag":"duplicated_or_nested_paths"}}
I think this must be a bug, because it shouldn't be a problem to have the same source path is in more than one entry of the list.
It is only the destination path that shouldn't be repeated.