FamilyInstance.Location operation failed

This node can help for a start:

…along with BoundingBox.ToCuboid + Solid.Centroid, or directly BoundingBox.CenterPoint from Zhukoven.
Please open a new topic if you encounter specific issues with your workflow.