cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

/copy_batch

/copy_batch

Ed-
Explorer | Level 4

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.

 

4 Replies 4

Ed-
Explorer | Level 4

Only for Move it would be a problem, but not for Copy.

Greg-DB
Dropbox Staff
Thanks! We'll look into it.

Tom A.5
New member | Level 2

This bug seems to still be there. 

 

I can't make two copies of a file that is up on dropbox already, i get {".tag":"failed","failed":{".tag":"duplicated_or_nested_paths"}}

Greg-DB
Dropbox Staff
Yes, this is still open. I'll check in with the team on this and follow up here if/when I have any news.
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Tom A.5 New member | Level 2
  • User avatar
    Ed- Explorer | Level 4
What do Dropbox user levels mean?