Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Action 'Get_items' failed: The expression "StartDate eq 2024-12-20" is not valid.

(0) ShareShare
ReportReport
Posted on by 12
I see there are many queries about this issue - I have been trying for days but always get same or similar result.
 
I have a list with the following fields:
StartDate (defined as date with date only and standard format selected - internal name is the same - 
StartPerson (defined as person or group - people only - internal name is the same 
 
My Get items fails when flow runs
Filter query 
However if I replace the expression with a date in the format 'yyyy-MM-dd', it does work. 
 
However I want this to run when the StartDate is eq to todays date.
 
Please can you provide a valid expression.
 
Let me know if you need any other information.
 
Thanks
Basil
  • Suggested answer
    BasilH Profile Picture
    12 on at
    Action 'Get_items' failed: The expression "StartDate eq 2024-12-20" is not valid.
    Issue solved thanks - needs double single quotes.
     
    thanks
  • BasilH Profile Picture
    12 on at
    Action 'Get_items' failed: The expression "StartDate eq 2024-12-20" is not valid.
    Hi Chriddle thanks for the response but it still fails:
    This is what have have changed based on your reply - is thsi correct?
    StartDate le '@{formatDateTime(utcNow(), 'yyyy-MM-dd'}'
    error when I save the flow
    The input parameter(s) of operation 'Get_items' contains invalid expression(s). Fix invalid expression(s) for the input parameter(s) of operation 'Get_items'.
    Thanks
  • Chriddle Profile Picture
    7,922 Super User 2025 Season 1 on at
    Action 'Get_items' failed: The expression "StartDate eq 2024-12-20" is not valid.
    You have to use quotes, even if you use an expression:
    Startdate eq '@{utcNow('yyyy')}'
     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1