How to merge all shapes into one

All of my spheres are a different shape and I am trying to merge them into one using solid union so I can combine the circles without them intersecting each other. However, solid union only allows me to join one connection and I can’t connect more than one into it.

You need to upload your code.