Obsidian does not accept files in Synced Network Drive

Recently, I’ve setup a network drive, which is on my NAS, and I located the folder and wanted to add that… But then, Obsidian returns EISDIR error, even though it can access the folder and write files on that directory. Can anyone help with that?