This is on v3.9.1. I'm not sure exactly when it stopped working. I was using the external content functionality with triggers to keep the virtual table updated as part of a larger program, but found that the referenced example from the docs exhibits the same issue. INSERT's work fine, but REPLACE gives this error now.
[sqlite] FTS5 External Content Table - REPLACE - SQL logic error or missing database
chromedou...@yahoo.com Tue, 27 Oct 2015 16:36:38 +0000 (UTC)