how to fix it ??
This is a generic error message and can have several causes. It can be that there is too little space to make the connection. It also ca be that you try to go into the wrong direction (you try to pull a duct/p[ipe down while the connector is pointing up).
It also can be that you do not have the proper fittings setup for your system.
Maybe more detailed description (screenshots, part of your file) can help to better determine what is the cause.
As a last tip these kind of questions might be better asked in the Revit MEP forum.
Louis
Please mention Revit version, especially when uploading Revit files.
In a section view you should be able to draw in horizontal and vertical direction without problems.
Have you set up your pipe systems and pipes correctly. For example is the routing preferences setup?
Can you better explain/show what you have done exactly?
Louis
Please mention Revit version, especially when uploading Revit files.