In one of our Cloud Flows, for Parse JSON action, we got the below error –
ValidationFailed. The schema validation Failed.
“Invalid type. Expected Integer but got Number”
The generated schema had data type defined as integer instead of number type for certain properties, and the response was having decimal value to it.
So replacing the “integer” with “number” in the Schema of Parse JSON action fixed the issue.
Hope it helps..
One thought on “Fixed – Invalid type. Expected Integer but got Number (Power Automate)”