Fixed – Invalid type. Expected Integer but got Number (Power Automate)


The article discusses an error encountered in a Cloud Flow when using the Parse JSON action. The error message states "ValidationFailed. The schema validation Failed. Invalid type. Expected Integer but got Number." The issue was caused by the data type defined as "integer" in the schema, while the response had a decimal value. The solution was to replace "integer" with "number" in the schema of the Parse JSON action.


Article 14m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time