This message occurs in any InDesign script if the text resulting actions of a macro token is set to use xtags as text replacement for a macro token.
However, InDesign does not support Xpress Tags.
Solution:
•Edit Macros Options: opens the macros options editor and select another text resulting action.
Topic 187575, last updated on 08-Aug-2023