I assume you are getting this error in Fluent Meshing.
Please use SpaceClaim for share topology and then move to Fluent Meshing.
You can also use non conformal mesh between solids and fluid in Fluent by creating non conformal interfaces.
Please go through help manual for more details
How to access Ansys Online Help Document
Guidelines on the Student Community
Fluids Engineering Courses | Ansys Innovation Courses