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 Apps / Error message in the flow
Power Apps
Answered

Error message in the flow

(0) ShareShare
ReportReport
Posted on by 312

I have the following problem:

 

Error saving flow with code "OpenApiOperationParameterValidationFailed" and message "Error in validation" item "of input parameter in workflow operation" Set_Incident ": Parameter with value" "@outputs ('Get_Client' )? ['body / createdon'] "" in path "item / CreatedOn" with type and format "String / date-time" cannot be converted to type and format "String / date-no-tz". . ".

 

MartinVargas_0-1637608446456.png

 

Can anybody help me out here ?

Cheers folks

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    Date and Time columns in Dataverse can be set to different default formats.  They can be user local (which is the default), date only, or Time Zone independent.  That value you are trying to use is Time Zone Independent, but I suspect the field is set to use User local.  You'll need to reformat the input value to be ISO 8601 in UTC format for the API to accept it.  Try using the DateTimeFormat() function in Power Automate to reformat the Date/time value.

  • MartinVargas Profile Picture
    312 on at

    Hi @Pstork1, Use the following expesion without any result:

     

    convertToUtc (triggerOutputs ()? ['body/createdon'], 'GMT Standard Time')
  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    If 

    triggerOutputs ()? ['body/createdon']

    is set for Time Zone Independent then I don't think you can Convert it to UTC because there is no Time Zone to convert.  Try using FormatDateTime() as I suggested.

  • MartinVargas Profile Picture
    312 on at

    @Pstork1 Try this and the result is as follows:

     

     

    formatDateTime (utcNow () , 'MM / dd hh: mm tt' )

     

     

    The error:

     

    We cannot convert the value "11 / 22 07: 52 PM" to type DateTime.
     inner exception: We cannot convert the value "11 / 22 07: 52 PM" to type DateTime.
    clientRequestId: 513e6f3e-533c-4b52-beb1-42ff08533231
  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    That's an incomplete date.  Please use

    formatDateTime (utcNow () , 'o' )

     

  • MartinVargas Profile Picture
    312 on at

    @Pstork1 Incredible, I understand that utcNow () is Coordinated Universal Time. If I wanted to pass it to Central Standard Time. Is there a way or way to achieve that?

  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at
    convertFromUtc(utcnow(),'Central Standard Time')
  • MartinVargas Profile Picture
    312 on at

    @Pstork1. Thank you. Is there any way to get this format:

    'dd-MM-yyyy hh:mm'


    I tried the following but got an error.

    convertFromUtc(utcnow(),'Central Standard Time', 'dd-MM-yyyy hh:mm')

  • Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    That formula works for me in a compose.  But if you are using it to update a field in Dataverse if may need to be in an ISO 8601 compliant format to be recognized.  What is the error that you get?

  • MartinVargas Profile Picture
    312 on at

    .

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard