Is there any regret in technology selection more widespread and common than having picked MongoDB during its bizarre new hotness phase? That phase where SQL database administrators where crying, thinking they'd lose their jobs tomorrow and many people claimed SQL was now absolutely deprecated.
I think using language-provided async calls everywhere will be the next mistake. Instead of callback hell, you get callback hell along with weird async race conditions and a contagion of async functions.
I find async calls totally sensible in a lot of web frontends and backends. The alternative is explicit threading models, which are overly pedantic in a wide variety of use cases.
This was probably the worst. Fads in business logic code or even APIs don't have anywhere near the lasting impact of a fad in screwing up the least easily replaceable part of your system, the DB.