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 / Action 'Get_items' fai...
Power Automate
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
Categories:
I have the same question (0)
  • Chriddle Profile Picture
    8,685 Super User 2026 Season 1 on at
    You have to use quotes, even if you use an expression:
    Startdate eq '@{utcNow('yyyy')}'
     
  • BasilH Profile Picture
    12 on at
    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
  • Suggested answer
    BasilH Profile Picture
    12 on at
    Issue solved thanks - needs double single quotes.
     
    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

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 889

#2
Valantis Profile Picture

Valantis 830

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard