This is very generic error. It can be due to bad quality or wrong parameters etc. For creating prisms, first check tet mesh quality. Improve tet mesh quality. Then try only one layer of prism. Make sure you specifiy prism parameters correctly. And then split that prism layer into number of layers.
Please go through help manual for more details
Regards,
Keyur
How to access Ansys Online Help Document
Guidelines on the Student Community
Fluids Engineering Courses | Ansys Innovation Courses