This Flag thing is a programmer lingo. If means that a certain condition is true.
The message probably means that you have a polygon shaped element, such as a Slab and the data structure says that one of its edges is curved, but there in no curved segment in the geometry.
Somehow the data structure got damaged I guess.
Does it give you an ID or something of the affected element in the error message?
Normally you just need to find and delete, then redo the affected element and all is well.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac28