# Problem uploading multiple files

**URL:** <https://forum.xwiki.org/t/problem-uploading-multiple-files/7625>\
**Category:** Help / Discuss\
**Created:** [October 21, 2020, 8:07am UTC](https://forum.xwiki.org/t/problem-uploading-multiple-files/7625 "2020-10-21T08:07:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaydee64](https://forum.xwiki.org/letter_avatar_proxy/v4/letter/k/aca169/32.png) [@kaydee64](https://forum.xwiki.org/u/kaydee64)\
**Post date:** [October 21, 2020, 8:07am UTC](https://forum.xwiki.org/t/problem-uploading-multiple-files/7625/1 "2020-10-21T08:07:54Z")

</div>

Hello everyone,

Uploading multiple files via drag & drop in WYSIWYG Editor doesn’t work for me. The log file is showing following error messages:

WARN o.h.e.j.s.SqlExceptionHelper - SQL Error: 1062, SQLState: 23000  
ERROR o.h.e.j.s.SqlExceptionHelper - Duplicate entry ‘5185720080921686741-2-1’ for key ‘PRIMARY’  
ERROR o.a.v.d.null - Exception in macro #createAttachment called at xwiki:CKEditor.FileUploader[line 48, column 1]  
ERROR o.a.v.d.null - Exception in macro #handleUploadRequest called at xwiki:CKEditor.FileUploader[line 2, column 1]

Any idea how to fix this?

---

<div class="post-metadata">

**Author:** ![mflorea](https://forum.xwiki.org/user_avatar/forum.xwiki.org/mflorea/32/49_2.png) [@mflorea](https://forum.xwiki.org/u/mflorea)\
**Post date:** [October 22, 2020, 5:45am UTC](https://forum.xwiki.org/t/problem-uploading-multiple-files/7625/2 "2020-10-22T05:45:21Z")

</div>

Sounds like [Loading...](https://jira.xwiki.org/browse/CKEDITOR-174) .
