An object in your library has a referred macro part but your parameter setting may not actually be refering to it. i am guessing you have called up a standard object. The trouble is the macros are usually stored in a different folder called something like Macros (or DW macros if the object is a door or window.)
Easiest solution is to include the whole macro folder in your library. It is usually fairly small.
Cheers John
John Hyland : ARINA : www.arina.biz
User ver 4 to 12 - Jumped to v22 - so many options and settings!!!
OSX 10.15.6 [Catalina] : Archicad 22 : 15" MacBook Pro 2019 [/size]