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 / The runtime value '""'...
Power Automate
Answered

The runtime value '""' to be converted doesn't have the expected format 'String/date'.

(0) ShareShare
ReportReport
Posted on by 17

Hi 

I'm getting this error in my Power Automate flow.

The flow is triggered by a Microsoft form.  The response Excel spreadsheet generated from the form submissions has been imported into a MS List and its this part of the flow that is failing at Create Item action with the error;

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

When a date is input into the Form, the flow error skips to the next blank date field and this is where the error happens.

There will always be blank date fields in some of the responses on the form so I can not get around blank date responses.

I have checked both the Excel Forms response spreadsheet column 'format cell' and all are set to date.  Likewise I have also checked the column settings in my MS List and all are set to Date and Time type but the flow is still failing.

some screen shots below;

JenMin78_0-1661501205459.png

 

JenMin78_1-1661501297611.png

 

Categories:
I have the same question (0)
  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @JenMin78 ,

    can you add a "Compose" action after the "Get response details" and provide the Date question value? 

    Just to check which data you're getting from Form submission.

     

    BR,

    Marco

  • JenMin78 Profile Picture
    17 on at

    thank you - I've solved the date error now by entering an expression within the get an item fields for all those which are dates - expression being i.e. if(equals(outputs('Get_response_details')?['body/r714fa114a62347d6884438f89b4bf290'],''),null,outputs('Get_response_details')?['body/r714fa114a62347d6884438f89b4bf290'])

    which has worked. 

    as per below

    JenMin78_0-1661516175860.png

     

    However now I am getting an error on a non-date field, it's a text field in the form, and set to single line of text in the List column setting but is throwing up this error;

    JenMin78_1-1661516218411.png

    which I don't understand as it's not a Number field but a text one.  I also don't know the expression I should use to sort this out....?

  • Verified answer
    MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on at

    Hello @JenMin78 ,

    in order to convert the string in Integer or Float, you can use the expression "int" or "float".

     

    Please let me know if the issue is fixed.

     

    If I have answered your question, please mark my post as Solved.

    If you like my response, please give it a Thumbs Up.

     

    I may not have all the answers, but I'm curious and passionate enough to keep looking for answers and to keep sharing them.

     

    My blog site about Power Automate: https://powerautomatejoy.com/

     

    BR,

    Marco

  • LuizRM Profile Picture
    6 on at

    Hello,
    For everyone who had an empty field ("") error in the expected value, using Power Automate, Forms (with branches and mandatory questions), Sharepoint lists, I found a very didactic solution in this link:

     

    https://www.spsimply.com/home/2021/9/10/power-automate-map-empty-fields-from-microsoft-forms-into-sharepoint-lists

  • kennyjay02 Profile Picture
    4 on at

    Hi,

    For anyone who is still having this issue, what I did was completely recreate the column in the SP list with the desired format and transfer the existing data into it if any. Then, copy the 'Create Item' node in power automate if refreshing the connection doesn't work in order to reflect the changes in the list. 

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard