cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RodM
Helper III
Helper III

Import Excel Table Rows into Existing SharePoint List Error

I've followed the guide on importing Excel table rows to an existing SharePoint list, however I'm receiving an error when trying to import an Excel date column into a SharePoint column formatted as a date.


Here is my error:

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

I don't understand when the item is already in date format.

1 ACCEPTED SOLUTION

Accepted Solutions
ccc333ab
Solution Sage
Solution Sage

When you get date from Excel, it actually is an Integer Date. You'll need to convert it to a string format date by doing the following: 

 

addDays('1899-12-30', int(YOURDATE), 'dd-MM-yyyy')

 

Replacing YOURDATE with the appropriate item from your flow (variable/item/compose output...).

View solution in original post

1 REPLY 1
ccc333ab
Solution Sage
Solution Sage

When you get date from Excel, it actually is an Integer Date. You'll need to convert it to a string format date by doing the following: 

 

addDays('1899-12-30', int(YOURDATE), 'dd-MM-yyyy')

 

Replacing YOURDATE with the appropriate item from your flow (variable/item/compose output...).

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Users online (1,835)