Document contain missing link?

This keeps popping up frequently. I go to export an epub, and everything is fine. I edit for a while, and the next time I try to export, I get a “document contains 1 missing link”. It is always in the same place. There is a table of contents entry that points to the first heading in my book and claims that a linked file is missing.
I can get rid of the error by deleting the heading, looking for invisible elements, deleting all labels and links related to it, regenerating the table of contents. I’m never sure of the exact step that fixes it, but it seems like there are several things that have to be done.
Once I manage to get rid of the error, it stays away for a while. Then comes back. And I have not edited that first chapter at all. I cannot find a way to reproduce it deterministically.
I have the Alt key disabled, so it’s not because I hit a strange menu item… as far as I can tell. And it is always at the front of that first unnumbered chapter. There is no way to mark the error as ignore from now on, so it pops up every time I try to export until I fix it. And the fix is several steps apparently.
Any ideas? It happens several times per writing session and drives me c razy.