In GDL, there are elements that are defined by a polygon.
The error message says that there is a polygon in the definition of which the start point of the polygon and its end point are not exactly the same (that would result in a non-closed polygon).
I think if you find the offending part you should just delete it and place it again or use parameter transfer to get its parameters from another Door like that.
Probably a bad combination of parameters causes the problem, results in a case that is not handled well by the GDL.
But you don't have to worry about that, just replace it with another library part that works.
Yes, the buggy part can be in both the host and the hotlinked file.
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