I need some help to find an error in my JSON schema. THe background is this flow is triggered on changes to identify which columns have changed and notifiy the users. I need to send them the current value as well as the prvious value. In the flow I use the'Get changes for an item or a file (properties only)' action followed by the 'Send an HTTP request to SharePoint for Changes' which in turn I use the output to the Parse JSON. Here is where the problem is.
I took the output from the 'Send an HTTP request to SharePoint for Changes' action to create the schema in the Parse JSON. At times it would fail due to a column being empty. I searched the form and found several threads which explained to use type: ["string","null"] to prevent this. This worked for a while but I am now getting the error below.
InvalidTemplate. Unable to process template language expressions in action 'Parse_JSON' inputs at line '1' and column '36737': 'Required property 'content' expects a value but got null. Path ''.'.
I have edited all the values I can in the schema to include the null reference but still getting this. How can I identfy the location of the error? Using Notepad++ I tried to go to that offset, but it placed me at the end of the schema. I would post the schema but it is rather long (800 lines).
The only itms in the schema I can't use the null reference are a couple of system values such as the below that do return null from the 'Send an HTTP request to SharePoint for Changes' action.
"OData__x005f_ModerationComments": {},
"File_x005f_x0020_x005f_Type": {},
"ComplianceAssetId": {},