Error messages › Parse JSON and HTTP
Parse JSON schema mismatch
Seen when a run fails · Updated 8 November 2026
The message
ValidationFailed. The schema validation failed. Invalid type. Expected String but got Null.
What it means
The schema says a property is always a string (or number), but in this run it was empty. Generated schemas assume every sample value is always present.
How to fix it
- In the schema, change that property's type from "string" to ["string", "null"].
- Or remove the property from the schema's "required" list.
- For a whole optional object, allow ["object", "null"].
Not quite your message? Paste the whole thing into the Flow Doctor. It reads the step, property and expression out of your exact wording and, for the stubborn ones, the AI reads the flow it happened in.
How to find the full error in Power Automate
- Open the flow and look at 28-day run history.
- Select the failed run (red cross), then the step with the red cross.
- The error is in that step's box; some are under Show raw outputs. Copy the whole thing, including the code at the start.
Other Parse JSON and HTTP errors
- Parse JSON given text that isn't JSON
- Request rejected (400 Bad Request)
- Response not sent: the caller stopped waiting
AutomateAlong is independent and isn't affiliated with Microsoft. Microsoft and Power Automate are trademarks of the Microsoft group of companies.