Below is an example of the error I’m receiving. Out of the last 10 automatic runs, 3 were successful and the remaining 7 failed—no changes were made in between. I reviewed all the HTML-to-text output for both failed and successful runs, but I cannot identify anything that could be causing the error or missing content. I would appreciate any help with this.
Action 'Add_a_row_into_a_table' failed: Unable to process template language expressions in action 'Add_a_row_into_a_table' inputs at line '0' and column '0': 'The template language expression 'trim(split(split(body('Html_to_text'), 'Document Name')[1],'Form Number')[0])' cannot be evaluated because array index '1' is outside bounds (0, 0) of array. Please see https://aka.ms/logicexpressions for usage details.'.
Flow:
'trim(split(split(body('Html_to_text'), 'Document Name')[1],'Form Number')[0])'