cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

dCopy error

dCopy error

mmaguire
New member | Level 2

I am receiving the following error.

 

   ".tag" = to;

    to =     {

        ".tag" = conflict;

        conflict =         {

            ".tag" = folder;

        };

    };

}

DropboxHttpError[{

    ErrorContent = "to/conflict/folder/...";

    RequestId = de71dc483806583becdb6ceb2bf9e5cc;

    StatusCode = 409;

    UserMessage = nil;

}];

 

what does this mean....I am trying to copy files from folder "/aFolder" to another folder /bFolder/cFolder

2 Replies 2

Re: dCopy error

mmaguire
New member | Level 2

It works if I had it a file name like "/afolder/somefile.png toPath:"/bFolder/cFolder/somefile.png" but it does not work if I want to copy the whole folder....

Re: dCopy error

Greg-DB
Dropboxer
This to/conflict/folder error indicates that the requested operation failed because there's already a folder at the destination path:

https://dropbox.github.io/dropbox-sdk-obj-c/api-docs/latest/Classes/DBFILESWriteConflictError.html#/...

Note that the destination path should be the full path where you want the copy.

If you want to copy "/aFolder" to "/bFolder/cFolder", you should make sure "/bFolder/cFolder" doesn't already exist.

If you meant to copy the aFolder into cFolder, you should instead supply a destination like "/bFolder/cFolder/aFolder".
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    mmaguire New member | Level 2
What do Dropbox user levels mean?
Need more support?