A lot of cases boil down to permission issues: Obsidian can’t read/write to that location for whatever reason. It could be a third-party sync issue, it could be Obsidian doesn’t have full access to your D: drive folder, it could be…
I’d have a search through the posts and see if anything similar to your situation jumps out.
I have followed your suggestion and I am not seeing any particular solutions. I am not technical and I don’t know how to get Obsidian to link to the folder.
I have tried to update a note and I started to get EBADF errors too. Nothing on my end has changed so I don’t know why I have started to get these errors.
These kind of things are difficult to troubleshoot as it’s something specific about your setup/system.
After looking at a few of the forum posts, this is what I would do for the time being:
Make a copy/backup of your vault using Windows File Explorer.
Use Windows File Explorer to create an ObsidianVaults folder (can be any name you want) in C:/Users/YOU/
Within Obsidian, open the vault switcher, and move your vault (three vertical dots to the right of the problematic vault) → Move vault… into this ObsidianVaults folder.
The path will now look like C:/Users/YOU/ObsidianVaults/VAULTNAME/
I’d try using Obsidian with your vault in this location for a while to see if anything changes.