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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Error details: 'String '11/10/2023' does not validate against format 'date'.,String '11/24/2023' does not validate against format 'date'.,Invalid type.

(0) ShareShare
ReportReport
Posted on by 1,754 Super User 2024 Season 1

I am calling a flow from power apps, but the dates are been passed wrongly, now inside our power apps form, i have formatted the dates as follow:-

 

johnjohnPter_0-1699570357119.png

 

then i am passing this date to the flow, but i am getting the following error:-

 

PopulateBookingCalendarDetails.Run(

StartDataCardValue.SelectedDate,
EndDataCardValue.SelectedDate,


)
;

 

The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'String '11/10/2023' does not validate against format 'date'.,String '11/24/2023' does not validate against format 'date'.,Invalid type.

 

any advice?

 

 

 

I have the same question (0)
  • creativeopinion Profile Picture
    10,480 Super User 2025 Season 2 on at
    Re: Error details: 'String '11/10/2023' does not validate against format 'date'.,String '11/24/2023' does not validate against format 'date'.,Invalid type.

    @johnjohnPter I believe you need to wrap your dates in a Text() function.

    PopulateBookingCalendarDetails.Run(
    
    Text(StartDataCardValue.SelectedDate,"dd/mm/yyyy"),
    Text(EndDataCardValue.SelectedDate,"dd/mm/yyyy"),
    
    
    )
    ;

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok
  • Verified answer
    v-bofeng-msft Profile Picture
    on at
    Re: Error details: 'String '11/10/2023' does not validate against format 'date'.,String '11/24/2023' does not validate against format 'date'.,Invalid type.

    Hi @johnjohnPter ,

     

    Please try:

    PopulateBookingCalendarDetails.Run(
     Text(StartDataCardValue.SelectedDate,"yyyy-mm-dd"),
     Text(EndDataCardValue.SelectedDate,"yyyy-mm-dd"),
    )

     

    Best Regards,

    Bof

  • johnjohnPter Profile Picture
    1,754 Super User 2024 Season 1 on at
    Re: Error details: 'String '11/10/2023' does not validate against format 'date'.,String '11/24/2023' does not validate against format 'date'.,Invalid type.

    @creativeopinion it did not work while this one :-

     

    PopulateBookingCalendarDetails.Run(
     Text(StartDataCardValue.SelectedDate,"yyyy-mm-dd"),
     Text(EndDataCardValue.SelectedDate,"yyyy-mm-dd"),
    )

     

    worked. thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard