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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / encodeUriComponent Cha...
Power Automate
Unanswered

encodeUriComponent Char limit?

(0) ShareShare
ReportReport
Posted on by 30

Is there a char limit with expression encodeUriComponent() in Power Automate?

 

I'm getting the following generic error response with my compose action "encodeRp":

Unable to process template language expressions in action 'encodeRp' inputs at line '0' and column '0': 'The template language function 'uriComponent' was invoked with invalid parameters. The parameter at index '0' cannot be converted to URI component.'.

 

Data with less than 62k total chars work fine. Anything over throws the exception above.

 

In my testing, I believe the limit is somewhere between 62k - 65k, but looking for a knowledgeable source to validate. Thanks.

 

Edit: Some background info. The flow takes a csv file as an input and processes the data as required. The csv data is passed through encodeUriComponent() in order to set a delimiter for a split. Therefore you likely will not encounter the issue simply encoding a uri. This is a workaround since Power Automate does not provide a native (1st party) csv reader.

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 237 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 194

Last 30 days Overall leaderboard