I'm trying to use the "Parse JSON" step to get the value of a key in a JSON object. An example content and schema are below:
Content: {"MyKey": 2}
Schema (generated using jsonschema.net):
{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"MyKey":{"type":"integer"}},"required":["MyKey"]}
No matter what content and schema I actually use, when I press the "Update Flow" button I get the following error:
The request content was invalid and could not be deserialized: 'Error converting value "ParseJson" to type 'System.Nullable`1[Microsoft.Azure.Flow.Templates.Schema.FlowTemplateOperationType]'. Path 'properties.definition.actions.Parse_JSON.type', line 1, position 636.'.
If I create a step after the Parse JSON step, I am able to see and use the "MyKey" output from the Parse JSON step. However, I still can't save the Flow.
Does anyone know how to successfully parse JSON and/or why this error is occurring?