The Situation
I was writing in a file and then saw a message that said: “Failed to save file.” Afterwards, I was unable to click out of my current file into any of the other files. I could click on the name of another file in the sidebar, but nothing happened.
I copied and pasted the current file, quit out of Obsidian and re-opened Obsidian. The copy + paste apparently did not take because the file did not save to my clipboard.
As a result, I have lost the contents on the file I was working on.
The Question
What can I do to prevent this moving forward? Specifically, what was the reason that Obsidian showed the “Failed to Save” message?
Additionally, is there anything I can do to recover the lost file?
(Note: there is a previous version of this post incorrectly posted to the help tag. I closed that topic and moved it here in order to post it in the right category)