Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Filter Errors of Parse JSON Before Creating SharePoint Items

(0) ShareShare
ReportReport
Posted on by 10

I have a flow that takes a CSV from an email attachment and adds the rows to a SharePoint List.. It works very well and is based on this example.

 

It recently experienced an error because one of the rows had missing/incomplete data which didn't match the expected format, giving me this error:

 

The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Date' is required to be of type 'String/date'. The runtime value '"False"' to be converted doesn't have the expected format 'String/date'.

 

Using the error above, I would like to filter out any future items where the value for the date is "False". This is the exact item from the JSON schema that gave the error:

 

"Date": "False",

 

I tried adding a Filter Array after the Parse JSON and before the Apply to Each-Create Item, but that didn't remove the offending line. 

probey82_0-1664291707650.png

 

 

 

  • probey82 Profile Picture
    10 on at
    Re: Filter Errors of Parse JSON Before Creating SharePoint Items

    @Sundeep_Malik I hoped it would help, but I'm getting the exact same error message.

    probey82_0-1664293104890.png

     

    Looks like it's not really Boolean, but just the word "False".

    probey82_1-1664293144540.png

     

  • Sundeep_Malik Profile Picture
    6,482 on at
    Re: Filter Errors of Parse JSON Before Creating SharePoint Items

    Hey @probey82 

    Try this:

    In the type of date in parse json write something like this:

    "type":["string","boolean"]
    Hopefully this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1