cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 

dCopy error

mmaguire New member | Level 2
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
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

Dropboxer
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".

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?