Quick Fix: Microsoft Flow Error – Invalid type. Expected String but got Null.

Hi, today I came across JSON parser error in Microsoft Flow. I used auto-generated schema and everything had been working just fine until a connector I used had started to return null values for strings.

Microsoft Flow error – Invalid type. Expected String but got Null.

The fix is quite easy. You just need to manually modify a type of property in the schema. By default you get type String but it is not nullable type.

Fortunatelly JSON Parser in Microsoft Flow can handle multiple types in the schema:

So you just need to change

to

Leave a Reply