web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

Split Expression

(0) ShareShare
ReportReport
Posted on by 14

Hi, I am developing a flow that obtains the content of a csv file in sharepoint to convert into excel xlsx. However, when dividing the file contents and a new line, this error appears:
 
"Unable to process template language expressions in action 'splitByLines' 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'. Please see https://aka.ms/logicexpressions#split for usage details.'."
 
Could You help me?
csv format.JPG
split.jpg
Categories:
I have the same question (0)
  • Suggested answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at
    Can you share the output of the SharePoint action? I can check.
    The error you’re encountering occurs because the split() function in Power Automate expects a string as input, but you're passing an object (the CSV file content is likely being read as an object rather than a string).
     
  • takolota1 Profile Picture
    4,978 Moderator on at
    If you need to go from a CSV to a new Excel table, then this template may help, or at least show you some actions & expressions you may need

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard