Can no longer paste images into Obsidian Note

What I’m trying to do

After copying an image into the Windows clipboard, I used to be able to press “Ctrl + V” and the image would appear in the Obsidian Note. Now nothing happens.

Things I have tried

I have tried disabling all the Community Plugins. I have also tried re-installing but still get the same problem

I also have a Test Obsidian Vault (same version 1.10.3) on the same computer, which I can still simply Paste in a clip board image.

For ref, I can first save the image to a Vault Attachments folder first and then drag file in. I can also copy in just Text

From looking at other Obsidian questions in this area, I have tried switching on something called the “Obsidian Developer Console” and this is the error I am getting:-

++++++++++++++++++
Obsidian Developer Console

“Loading folder notes plug in”
plugin:folder-notes:5628 loading folder notes plugin
plugin:dataview:20327 Dataview: version 0.5.67 (requires obsidian 0.13.11)
plugin:folder-notes:2515
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘/’)
at getEl (plugin:folder-notes:2515:55)
at removeCSSClassFromEL (plugin:folder-notes:2500:28)
at eval (plugin:folder-notes:2431:7)
at Array.forEach ()
at loadFileClasses (plugin:folder-notes:2425:40)
at eval (plugin:folder-notes:5749:9)
at t. (app.js:1:2542608)
at app.js:1:250088
at Object.next (app.js:1:250193)
at a (app.js:1:248911)
+++++++++++++++++++++++

I have the same issue for several months.

If you’re on Linux, then reset permissions of Obsidian to default values.

This issue is related to permissions. You or sb else modified how Obsidian can access and therefore write to directories. No write access, no copy-paste.

Thank you for your reply “Jopp” and pointing to this being a Permissions issue.
I am using Windows (but I am storing the data on a NAS which is more Linux)

The issue is now resolved. I am not an expert in Permissions in Windows, but I did enough right clicking on the
Windows Folder location, where my Attachments normally default to, and then looking at “Properties > Security” to see the Permissions looked exactly the same, as what shown on the corresponding folder location for Attachments, for my Test Obsidian, where copying Attachments did work

Looking further, I could see in my “Test” Obsidian, the “Default Location for new attachments” in my Settings was just set to “Vault Folder”, whereas my “Live” Obsidian, the location was pointing to “in the folder specified below” and then in “Attachment Folder Path” field I had written the whole file path to the folder, including a drive letter etc

   eg. T:\\obsidian\\vault_Live\\attachments

I should have selected from the folder names that obsidian auto-prompts you with, below the field, when you start entering a folder or file name. If I had done that, I would have just left me with

 obsidian\vault_Live\attachments

When I removed the Drive letter, the Colon and the Slash, from the folder name, the attachments magically worked again. FOR REF I don’t know if the slashes would be backward or forward, if I had been storing the actual data on my Windows PC, rather than on a NAS, ie. based on a Linux operating System

Looking at the log I posted from the “Obsidian Developer Console” in my original post, this seems to talk a lot about the “Folder Notes Plug In”. In case this is not the correct error log to have included in my initial post, the following is another log message that would come up in the “Obsidian Developer Console”. It seems to be more closely related to the issue, highlighting the facat that I was trying to (unknowingly) incorportate Colons and Slashes into an attachment file name

app.js:1 Uncaught (in promise) Error: File name cannot contain any of the following characters: * " \ / < > : | ?
at RC (app.js:1:1127946)
at t.checkPath (app.js:1:1135351)
at t. (app.js:1:1138014)
at app.js:1:250088
at Object.next (app.js:1:250193)
at app.js:1:249109
at new Promise ()
at y (app.js:1:248854)
at t.createFolder (app.js:1:1137902)
at t. (app.js:1:1142917)

Thanks again for responding to my question Jopp

1 Like