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
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
I have the same question (0)
  • 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
    8,087 Super User 2025 Season 2 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

Responsible AI policies

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

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 787 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 448 Moderator

#3
Power Apps 1919 Profile Picture

Power Apps 1919 327

Last 30 days Overall leaderboard