# The specified file/folder already exists in the target repository.

**URL:** <https://forums.pega.com/t/the-specified-file-folder-already-exists-in-the-target-repository/3995>\
**Category:** User Experience\
**Tags:** system-administration, 8-6-3, user-experience, case-management\
**Created:** [February 17, 2023, 12:18pm UTC](https://forums.pega.com/t/the-specified-file-folder-already-exists-in-the-target-repository/3995 "2023-02-17T12:18:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VenkatasivaK2881](https://avatars.discourse-cdn.com/v4/letter/v/d6d6ee/32.png) [@VenkatasivaK2881](https://forums.pega.com/u/VenkatasivaK2881)\
**Post date:** [February 17, 2023, 12:18pm UTC](https://forums.pega.com/t/the-specified-file-folder-already-exists-in-the-target-repository/3995/1 "2023-02-17T12:18:22Z")

</div>

Getting below error when trying to GeneratePDF (using OOTB Work-.pxCreatePDF) from Activity.

We are using Pega 8.6.3 and Repository - “PegaCloudfileStorage” , Target - “/attachments”.

_Error - The specified file/folder already exists in the target repository. Please specify a different file._

_[Data-WorkAttach-File.pyMessageLabel]Conflict_

---

<div class="post-metadata">

**Author:** ![Gunasekaran\_Baskaran](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/gunasekaran_baskaran/32/2203_2.png) [@Gunasekaran\_Baskaran](https://forums.pega.com/u/Gunasekaran_Baskaran)\
**Post date:** [February 17, 2023, 12:25pm UTC](https://forums.pega.com/t/the-specified-file-folder-already-exists-in-the-target-repository/3995/2 "2023-02-17T12:25:38Z")

</div>

@VenkatasivaK2881

Please check with the same file name you are trying to save 2 documents in a case.

---

<div class="post-metadata">

**Author:** ![Anoop\_Krishna](https://yyz2.discourse-cdn.com/pega/user_avatar/forums.pega.com/anoop_krishna/32/23458_2.png) [@Anoop\_Krishna](https://forums.pega.com/u/Anoop_Krishna)\
**Post date:** [February 18, 2023, 4:40pm UTC](https://forums.pega.com/t/the-specified-file-folder-already-exists-in-the-target-repository/3995/3 "2023-02-18T16:40:20Z")

</div>

@VenkatasivaK2881 If user is allowed to import the same file and file name getting stored in the case with the same file name, when it gets transferred to repository you will get this error. If you want to allow user to upload modified version of same file, what you can do is you can append and maintain file version to the end. Like 01,02.
