I somehow managed to create a way with zero nodes that I had no way of deleting in iD, so I had to download the osc and remove it manually. I couldn't find a way to import the osc into iD, so I uploaded with JOSM.