Title: Cannot insert attachment
Last modified: August 30, 2016

---

# Cannot insert attachment

 *  Resolved [hshelton](https://wordpress.org/support/users/hshelton/)
 * (@hshelton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/)
 * Any time I try to save a diagram I get an error that says “Sorry, could not insert
   attachment. true” How can I correct this issue?
 * [https://wordpress.org/plugins/drawit/](https://wordpress.org/plugins/drawit/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309043)
 * Can you provide me with the version of WordPress are you using? Thanks.
 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309055)
 * I’ve updated the plugin to give more verbose error messages. Please update to
   plugin version 1.0.4 and then let me know what the error message now says.
 * By the way, the orignal error message you were getting indicates that WordPress
   was not able to save the generated image file to your media library for some 
   reason. The new error messages will say why.
 *  Thread Starter [hshelton](https://wordpress.org/support/users/hshelton/)
 * (@hshelton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309106)
 * The error now says:
    Sorry, could not insert attachment into media library. WP
   error: The uploaded file could not be moved to wp-content/uploads/2015/07.
 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309109)
 * It sounds like there might be a problem with the upload folder permissions. I’m
   guessing that your WordPress installation either can’t create the new folder 
   for /2015/07 or if the folder exists then it can’t write to it. See here for 
   example of things to try:
    [https://wordpress.org/support/topic/uploaded-file-could-not-be-moved-to?replies=17](https://wordpress.org/support/topic/uploaded-file-could-not-be-moved-to?replies=17)
 * Let me know if that helps. What hosting service are you using?
 *  Thread Starter [hshelton](https://wordpress.org/support/users/hshelton/)
 * (@hshelton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309110)
 * I’m hosting locally on a Windows server. WordPress’ default Media Upload works
   as it should (creating folders when needed and saving documents to those folders),
   I only have the issue when using DrawIt
 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309156)
 * Ok, what version of WordPress, PHP and Windows are you using?
 *  Thread Starter [hshelton](https://wordpress.org/support/users/hshelton/)
 * (@hshelton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309227)
 * Virtual Machine running Windows 7, WordPress is version 4.2.2 and PHP is 5.6
 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309261)
 * OK, I’ll try to duplicate the environment and will get back to you.
 *  Plugin Author [assortedchips](https://wordpress.org/support/users/assortedchips/)
 * (@assortedchips)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309301)
 * Hi hshelton,
 * I have fixed this problem with saving/moving files in Windows and WAMPServer 
   based installations. Please upgrade the plugin to version 1.0.8 and let me know
   if everything is working for you now. Thanks!
 *  Thread Starter [hshelton](https://wordpress.org/support/users/hshelton/)
 * (@hshelton)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309309)
 * Thank you for being so quick with this! It is now saving the images as it should.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Cannot insert attachment’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/drawit_9fd0dc.svg)
 * [DrawIt (draw.io)](https://wordpress.org/plugins/drawit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/drawit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/drawit/)
 * [Active Topics](https://wordpress.org/support/plugin/drawit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/drawit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/drawit/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [hshelton](https://wordpress.org/support/users/hshelton/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/cannot-insert-attachment/#post-6309309)
 * Status: resolved