Error in `geom_sf()

Could you give a bit more information about what you tried to do? Ideally a reprex? Your error is giving you information on how to diagnose the issue, but folks here won't be able to help without additional context.