Hi Ethan,
Can you give more clarification or APDL commands which you used? Why do you need TARGET170 element on the line? is it in contact with other 1d elements? Normally first you should generate mesh on line (probably beams?) and then define contacts.