I need help fixing an error in my parse JSON step:
I am parsing JSON data from the body of an email (I have my reasons!), and I had it working at one point. Now, when an email with JSON data arrives in the inbox inbox my flow fails in the "parse JSON" step. The errors I've been getting are pretty consistent. Here's one example:
Here's the schema:
"Unique Entity ID UEI_1": {
"type": "integer"
},
Here's the data input:
"Unique Entity ID UEI_1": "",
And here's the error I get:
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "['Unique Entity ID UEI_1']",
"value": "",
"schemaId": "#/properties/Unique Entity ID UEI_1",
"errorType": "type",
"childErrors": []
}
It appears to me that it somehow has difficulty when an integer field is blank. If I could do away with the "type" altogether I would - it's of no value to me. Thanks in advance for any ideas on a fix.