Wellington Water says wastewater was released into the ocean after a mechanical failure at the Seaview treatment plant.