If you are seeing any of the following errors when you try to upload/import media into WordPress’s media library then this tutorial is for you. It will show you how to fix this annoying error.
There are a few different possibilities for this error to show up. I will try to cover all the possibilities so hopefully one of them will help you fix the issue.
This is the easiest option to try and solve this error so you should try this one first.
Log into your WordPress admin dashboard
The important thing here is to make sure you only enter the following in the “Store uploads in this folder” field:wp-content/uploads
Change folder permissions on the wp-content directory to 775 and try the upload again
Once you can successfully create the folder and upload the media, be sure to return the permissions on wp-content directory to 755 (your folders should have a permission of 755 for security reasons).