I'm having some issues trying to parse a JSON file from OneDrive for Business
- My flow triggers when a new file is created (All files in the folder are json type).
- I use the next JSON file
{"Prueba":"Hola mundo"}
json(base64ToString(trigger()['outputs']['body']['$content']))
- When I run the flow I get the next message:
Unable to process template language expressions in action 'Compose' inputs at line '1' and column '2816': 'The template language function 'json' parameter is not valid. The provided value '{
"Prueba":"Hola mundo"
}' cannot be parsed: 'Unexpected character encountered while parsing value: . Path '', line 0, position 0.'. Please see https://aka.ms/logicexpressions#json for usage details.'.
- I tried using the Parse JSON action having the same results