web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Error Populating Date ...
Power Automate
Answered

Error Populating Date Field in SharePoint List

(1) ShareShare
ReportReport
Posted on by 53
Hi,
 
I'm trying to create a flow where i output any new rows created in an excel table to sharepoint list - i keep getting an error regarding the date: 
OpenApiOperationParameterTypeConversionFailed. The 'inputs.parameters' of workflow operation 'Create_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/Date_x0020_of_x0020_Month' is required to be of type 'String/date'. The runtime value '"45658"' to be converted doesn't have the expected format 'String/date'.
 
the error is always repeating here in the create item part: 
 
The date formats are the same in both the list and the excel file.
 
any help would be appreciated
Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,978 Moderator on at
    Hi
     
    Please share the actual value during the runtime of a failed flow for that field. Cannot tell anything just from that property itself.
     
    Share that and should be able to help you. It's possible that it was being converted to the Excel format early on which would make it invalid there.
     
    Please share the run with the input of that field and we can help
     
    Cheers
  • Verified answer
    David_MA Profile Picture
    14,499 Super User 2026 Season 1 on at
    SharePoint does not use the ISO8601 date format. It uses the region settings in the site. In North America you need to enter the date in this format: 'MM/dd/yyyy hh:mm tt'
     
    If you have time turned off in the list, then just use the date portion of the format. Here is an example  of the expression I use:
     
    convertTimeZone(triggerOutputs()?['body/Modified'], 'UTC''Eastern Standard Time''MM/dd/yyyy hh:mm tt')
     
    Although, your data is coming from Excel and I don't often create items from Excel data, it usually goes the other direction for me. So you might need to do some extra manipulation of the expression to get the date in this format. And of course, you don't need to convert the time zone either.
     
    Based on the fact the error message says the run time value was "45658", that would appear  to be an Excel serial date. If I calculated it correctly, 45658 would be January 1, 2025. If so, I believe this should work for you: addDays('1899-12-30', <your_serial_date>,  ' MM/dd/yyyy')
     
    You can read about the date format at Date format needs to be DD/MM/YYYY | Microsoft Community Hub         

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard