Hi
I always get the following error (when I execute the flow)
The variable RiskyUsers of type Array cannot be initialized or updated with the value body ('Parse JSON - Risky users')? ['Value'] of type String. The variable RiskyUsers only supports values of type Array.
Both variable "RiskyUsers" and "value" in the body of the JSON are type Array (or Matrix). Why do I get this error?
Thx for your help!
Walter
Solved! Go to Solution.
HI @Walter
The issue is not the variable. The issue is that the "body ('Parse JSON - Risky users')? ['Value']" is a string, so you're trying to insert a string in an array.
You need to append it to the array. You can use the append function or an append action to do that.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
HI @Walter
The issue is not the variable. The issue is that the "body ('Parse JSON - Risky users')? ['Value']" is a string, so you're trying to insert a string in an array.
You need to append it to the array. You can use the append function or an append action to do that.
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Cheers
Manuel
Hi @manual
In the meantime I solved my problem. Thx a lot for your response! Much appreciated!
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 |
---|---|
21 | |
11 | |
10 | |
8 | |
4 |
User | Count |
---|---|
26 | |
16 | |
14 | |
13 | |
12 |