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 Platform Community / Forums / Power Automate / Action 'Get_items' fai...
Power Automate
Unanswered

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,416 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')}'
     
  • 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
  • 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

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard