That means that the polyline has some duplicate points that are overlapping each other. It looks like you’re using a block, so I would edit the polyline in the block editor to make sure it is clean.
As a rule of thumb, always leave the geometry scaling set to medium when using Dynamo for Civil 3D, otherwise there will be other errors that come up like what you experienced before. There are several posts on the forum about this topic.