Hello i have a app that sends a collection of images to a web api. problem its that i have made a code that provides only the base64 value and in the power automate i use a for each to send each image with the http request. The error comes when the json collection suddenly decides to set a "," before the base64url at the two last images. Then it failes
Solved! Go to Solution.
Hi @langsem
Since a Base64 value should never contain a comma, perhaps the easiest fix is to call the substitute function and to replace the comma with an empty string in your source collection.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-replace-substitute
Hi @langsem
Since a Base64 value should never contain a comma, perhaps the easiest fix is to call the substitute function and to replace the comma with an empty string in your source collection.
https://docs.microsoft.com/en-gb/powerapps/maker/canvas-apps/functions/function-replace-substitute
make a regex function in power apps u mean to clean the string ? Wouldent it cause a conflicts if i have a collection with multiple base64 values ?
User | Count |
---|---|
195 | |
123 | |
86 | |
48 | |
40 |
User | Count |
---|---|
281 | |
165 | |
138 | |
80 | |
76 |