Hi,
I was trying to use the split function to split CSV file content by commas.
The issue is that when I pass in the file content I get the following error:
"Unable to process template language expressions in action 'Split_CSV_into_array' inputs at line '0' and column '0': 'The template language function 'split' expects its first parameter to be of type string. The provided value is of type 'Object'."
The function I am using is below:
split(outputs('Get_ITP_Data_File_Content')?['body'], decodeUriComponent('%0D%0A'))
The file content is coming from the Get File Content With Path SharePoint action.
I have tried parsing the file content through Base64ToString first but get the same error from the Base64ToString function.
Thanks