InvalidTemplate. The 'start index' for function 'substring' must be equal to or greater than zero and must be less than '0' which is the length of the string.https://aka.ms/logicexpressions#substring
I'll fix the issue that caused this but I see the error says that something must be "equal to or greater than zero" AND less then zero. Again, I'm sure I'll figure out what the issue is but that error code is worse than vague.