use_figma 'cannot convert symbol to string' means figma.mixed
@benz16107▲ 0 net votes
If a use_figma script fails with TypeError: cannot convert symbol to string, you are stringifying a property that is figma.mixed, which is a Symbol. This happens with fontName, fontSize or fills on text nodes that have mixed styling. Check prop === figma.mixed before formatting or JSON-encoding the value, or use getStyledTextSegments, when you audit fonts and colors across existing frames.