I am getting a very frustrating issue with the Parse JSON action.
My flow is checking if a particular file is added to a folder, then extracts the XML from that file with one Compose Action, then converts that to JSON with another Compose action.
When I take the output of the second Compose action and use that to generate a schema in Parse JSON, i get an error saying "Expected Object but got Array."

Now, I've checked the output of the Compose JSON Step and it's definitely NOT an Array. The JSON output has confidential info and has over 3k records in it so I can't post the whole record here but if you see the start it's definitely an Object and not an array.

And what's weirder, is if I generate the Schema to expect an array by enclosing the output of Compose Action in []...

... I get the OPPOSITE error: "Expected Array but got Object".

In both cases, the source file and the output of the JSON Compose action is identical, the only difference is whether i added [] to the sample payload when generating the schema.
How can it possibly be that in one case it's failing with "Expected Object but got Array" but when I told it to expect an Array it failed with "Expected Array but got Object"?