Boundary surface error

Hi,

I'm trying to create a boundary surface, but the guide curve is producing an error. I don't know why.