I wrote a script for system automation, but I\'m getting the error described in the title. My code below is the relevant portion of the script. What is the problem?
Looks like something is wrong with your data, it isn't in the format you are expecting. It could be a new line character or a blank space in the data that is tinkering with your code.