Hello lovely Community,
for an HTTP action I need to convert a String with > 65519 characters with uriComponent(). I've already recognized uriComponent() is limited to 65519:
Successfull with 65519 characters
Failed with 65520 characters
Unfriendly Error Message:
"The template language function 'uricomponent' was invoked with invalid parameters. The parameter at index '0' cannot be converted to URI component."
So how I could handle my String to be able to encode it for URL with Power Automate? Unfortunately there's no special delimeter in string, its just a huge Token with random characters.
Already had thoughts about spliting the string to an array with items of 65519 characters. After I could set a Loop to convert it and then join every item back to my wanted uri string.
Many thanks for your help!
BR,
Sven
Solved! Go to Solution.
Just have created Workaround solution. Works great, but maybe someone know a more friendly way like uriComponent()..
Just have created Workaround solution. Works great, but maybe someone know a more friendly way like uriComponent()..
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!
User | Count |
---|---|
8 | |
6 | |
5 | |
3 | |
1 |