Hi & @CFernandes & @eric-cheng ,
I hope this is the appropriate place for me to post my question. If not, please direct me to the right place.
I am completely new to JSON and I'm trying to convert records stored in a proprietary app and parse them using JSON to a SharePoint List using a Power Automate Flow. The proprietary app has a field that stores multiple attachments (mostly emails).
It's all working fine but when the flow gets to the 'Apply To Each' action which checks for multiple attachments and loops through the attachments, it fails because my Split() function is expecting a string but is getting an array. This is the error I get:

My Split() function looks like this:

Where 'Attachments' is the name of the proprietary application field and varAttachmentCount is a loop counter in Power Automate.
Here is the JSON object relating to attachments:

I have had to create a 'webhook' in the proprietary application which is named 'upload_attachments' and this was the JSON code recommended to me by others.
I've tried changing the property type from 'array' to string in the JSON but that didn't work either.
I'm hoping this provides you with enough information to point me in the right direction. Any assistance you can give me will be appreciated immensely. I have been going around in circles for days.
Sincere thanks in advanced.