I too am getting this error. I am one of the agents who is attaching the files, occasionally I will take screenshots using the Snipping Tool on my computer, copy it and then paste it via Chrome directly into the ticket. This used to work well, but now when I do this I get the following error in the log files - DB Error #1062Duplicate entry '8370-375-D' for key 'file-type'<br /><br />---- Backtrace ----<br />#0 root\include\mysqli.php(204): osTicket->logDBError('DB Error #1062', '[INSERT INTO `o...')<br />#1 root\include\class.orm.php(3133): db_query('INSERT INTO `os...', true, true)<br />#2 root\include\class.orm.php(597): MySqlExecutor->execute()<br />#3 D:\Websites\helpdesk.wallansc.vic.edu.au\include\class.attachment.php(161): VerySimpleModel->save()<br />#4 root\include\ajax.draft.php(101): GenericAttachments->upload(Array)<br />#5 root\include\ajax.draft.php(300): DraftAjaxAPI->_uploadInlineImage(Object(Draft))<br />#6 : DraftAjaxAPI->uploadInlineImage('8370')<br />#7 root\include\class.dispatcher.php(145): call_user_func_array(Array, Array)<br />#8 root\include\class.dispatcher.php(38): UrlMatcher->dispatch('8370/attach', Array)<br />#9 root\include\class.dispatcher.php(120): Dispatcher->resolve('8370/attach', Array)<br />#10 root\include\class.dispatcher.php(38): UrlMatcher->dispatch('/draft/8370/att...', NULL)<br />#11 root\scp\ajax.php(262): Dispatcher->resolve('/draft/8370/att...')<br />#12 {main}System details - osTicket Versionv1.10 (901e5ea) — Up to dateWeb Server SoftwareMicrosoft-IIS/8.5MySQL Version5.6.19PHP Version5.6.9