I created a shortcut to send bulk text message appointment reminders. The shortcut gets appointment time, name and phone number from a pdf exported from an appointment software. The shortcut iterates through the contact information generating the text messages. I manually press send on each text message and the shortcut iterates to the next text message autopopulating the contents of the reminder message. The process repeats until it finishes each item from the list generated from the PDF text. My problem is that the shortcut ends on an error even though the text messages get sent. Changing <Get item at index 2 from Split Text> to <index 1> results in wrong data being populated in the text message. I am not proficient with programming or Shortcuts and would appreciate any assistance resolving this error message.
Here is the shortcut.
https://www.icloud.com/shortcuts/f888a0b44b804d159ed11a583e296adf