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 / The template function ...
Power Automate
Suggested Answer

The template function 'startOfWeek' is not defined or not valid.'.

(0) ShareShare
ReportReport
Posted on by
How can this be resolved?
 
Unable to process template language expressions in action 'Get_items' inputs at line '0' and column '0': 'The template function 'startOfWeek' is not defined or not valid.'.
Categories:
I have the same question (0)
  • CU30121719-0 Profile Picture
    on at
     Share your action 'Get_items' in edit mode.
  • Suggested answer
    David_MA Profile Picture
    14,956 Super User 2026 Season 1 on at
    As @CU30121719-0 noted, please share your workflow and the action generating the error and how it is configured. Based on the error message, you are trying to use the expression startOfWeek() and have not configured it correctly. As far as I am aware, this is not a valid expression. Valid start... expressions include:
     
     
    The expression startOfWeek() is not valid hence the error.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard