Submitted Journal Without GL Entry

I need help. Is there anybody who has experienced a situation where there is a submitted Journal Entry but no GL Entry document?

We periodically run a background job to match unpaid selling documents to payment journals. However, we sometimes find that the journal is submitted and linked to a document but no GL Entry created. Initially, the clearing was done using ERPNext’s Payment Reconciliation so we rewrote the logic to use our customized algorithm and it has been effective for around four months now without a recurrence until yesterday.

Thanks for any tips, clues or assistance.

I tweaked my search query and found two of the same complaint

Is there anyone who’s been able to get to the root of the matter?

By the way, this occurs for us on v12