For org capture template, if I set an template like this: ("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX" "test") "* %?" :prepend t)
And for the iPrv.org, I have this structure: * INBOX ** test
Then it works.
But if the first level and the second level happen to have the same title (it does happen to me sometimes), like: * INBOX
** INBOX
("i" "INBOX" entry (file+olp (concat org-private-dir "/iPrv.org") "INBOX" "INBOX") "* %?" :prepend t) Then Org will prompt an error.