Can you share some more details about the error you are getting under the solver output with the model? It might help to address your issue. The error message can also give more information about the issue. Mechanical has various tools like contact trackers, Newton-Raphson residual plots which can help you to find the issue with specific contact or boundary conditions.
Please check below Ansys help links for troubleshooting some of the general errors with contacts.