Hi Sami,
Please note that the wave port is to be external to the model.
If you intend to use it inside of a model then it should have a PEC object. In the latest version of Ansys Electronics Desktop, the tool will prompt automatically during the port creation.
If you are new to Ansys HFSS then I suggest you to go through this video based course - Ansys HFSS Port Types - ANSYS Innovation Courses.
Best regards,
Praneeth.