Everything was running well in our instance of the Power Platform COE. About 1 month ago the sync log flow started to receive JSON parse errors from the "[Child] Admin sync logs" flow, while processing the audit log content loop. It does not fail all of the iterations of the loop. Error is Action 'Parse_JSON' failed. Failures seem pretty consistent on Record type and User type. Examples listed below.
Example 1
[
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "[3].RecordType",
"value": "83",
"schemaId": "#/items/properties/RecordType",
"errorType": "type",
"childErrors": []
},
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "[3].UserType",
"value": "0",
"schemaId": "#/items/properties/UserType",
"errorType": "type",
"childErrors": []
}
]
Example 2
[
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "[4].RecordType",
"value": "83",
"schemaId": "#/items/properties/RecordType",
"errorType": "type",
"childErrors": []
},
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "[4].UserType",
"value": "0",
"schemaId": "#/items/properties/UserType",
"errorType": "type",
"childErrors": []
},
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "[10].RecordType",
"value": "83",
"schemaId": "#/items/properties/RecordType",
"errorType": "type",
"childErrors": []
},
{
"message": "Invalid type. Expected Integer but got String.",
"lineNumber": 0,
"linePosition": 0,
"path": "[10].UserType",
"value": "0",
"schemaId": "#/items/properties/UserType",
"errorType": "type",
"childErrors": []
}
]