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.

Report
All responses (
Answers (