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 / Unable to process temp...
Power Automate
Answered

Unable to process template language

(0) ShareShare
ReportReport
Posted on by 117

Hello, 

I´m kind of straggle with the same problem.. 

Converted all the dates to UTC but after I run the flow this error appears.

 

 

Unable to process template language expressions in action 'Create_event_(V4)' inputs at line '1' and column '24720': 'The template language function 'convertToUtc' expects a timestamp as the first parameter, a source time zone as the second parameter, and an optional format string as the third parameter. The function was invoked with '1' parameter(s). Please see https://aka.ms/logicexpressions#ConvertToUtc for usage details.'.

 

 

   

jakubz_0-1629297241959.png

Thank you for your help

Categories:
  • Verified answer
    Ellis Karim Profile Picture
    12,379 Super User 2026 Season 2 on at

    To use the convertToUtc function you will need to provide the sourceTimeZone, for example:

    convertToUtc('01/01/2018 00:00:00', 'Pacific Standard Time')

    And events can be created, reading Data/Time from a SharePoint list, like this too:

    ekarim2020_0-1629374783724.png

    Start time:
    formatDateTime(outputs('Get_item')?['body/EventDate'],'yyyy-MM-ddTHH:mmZ')
    End time:
    formatDateTime(outputs('Get_item')?['body/EndDate'],'yyyy-MM-ddTHH:mmZ')
     
    Hope this helps.

     

    Ellis

  • jakubz Profile Picture
    117 on at

    Hi @ekarim2020 

    Thank you very much for your help! 

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard