Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Error during transfer of data from excel to sharepoint list due to dates

(0) ShareShare
ReportReport
Posted on by 2

Hi,

I am trying to take what's in an excel file and drop this into a sharepoint list so that the list mimics the excel file.

 

My flow looks like:

 

Daily trigger -> List rows present in a table -> For each 1 (Create Item)

When trying to do this it works fine until I add in columns that contain dates and then I get the following error:

 

Action 'Create_item' failed: The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/field_11' is required to be of type 'String/date-time'. The runtime value '""' to be converted doesn't have the expected format 'String/date-time'.
 
This is, I'm assuming, that some of the cells in the excel are blank whereas PA is expecting there to be a date, is there a way around this?
Thank you!
  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Error during transfer of data from excel to sharepoint list due to dates

    Hi,

     

    Pls click "Create item" action and show me values passed in the input parameter.

     

     

  • James_Lewis Profile Picture
    2 on at
    Re: Error during transfer of data from excel to sharepoint list due to dates

    Hi Manish,

    Thanks for your prompt response. I have added this expression into all available date fields but this still didn't fix the error:

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

     

    I have shared a screenshot of the flow. The item failing is the create item.

     

    James_Lewis_0-1718623889161.png

     

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Error during transfer of data from excel to sharepoint list due to dates

    Hi @James_Lewis 

     

    You need to use if() function to handle blank or empty values:

    if(empty(item()?['columnname']),null,item()?['columnname'])

    replace the column name with the actual on in the above expression

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May 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 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492