I get this when I try to archive a subtree. My config reads
(setq org-archive-location "~/mega/org/archive.org")
which does exist. So what am I doing wrong here?
If you use C-h v and type in org-archive-location you will see the documentation. There you can see the original value ("%s_archive::") and a few examples
"~/org/archive.org::" , "::* Archived Tasks" or "~/org/archive.org::* From %s"
Now you will probably already realize that you need the double colon in your string.
Syntax seems to be the following:
So your solution should be:
(setq org-archive-location "~/mega/org/archive.org::")