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 datetime string mu...
Power Automate
Answered

The datetime string must match ISO 8601 format

(0) ShareShare
ReportReport
Posted on by 271

Hi all,

 

I have a flow which has been running fine for many months, but has now failed 3 times since the beginning of the year with the error code below:

 

Unable to process template language expressions in action 'Add_a_row_into_a_table' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '' was not valid. The datetime string must match ISO 8601 format.'.

 

The thing that is confusing me is the 'line 0 and column 0' bit cause I dont know how to reference this.

 

I have checked all of my date formatting in the flow and nothing has changed so I am completely baffled. 

 

A screenshot of the flow is below:

 

Gwill1983_0-1673531831234.pngGwill1983_1-1673531858601.png

 

In all of the date entries, my expression is as below:

 

formatDateTime(outputs('Get_response_details')?['body/r04e1404d7efa46e99eb6848bfd2b9786'],'dd/MM/yyyy')
 
This is pulling the date entries from the form. 
 
Can anybody help as this sudden failure is causing me real issues!


 

Categories:
  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Gwill1983 

     

    I would put outputs('Get_response_details')?['body/r04e1404d7efa46e99eb6848bfd2b9786'] into a compose and re-run.  Then check the output.  Could someone have recreated the date field and it has a new internal name?  Then all you need to do is update the flow.  Alternatively look at the history, open up get responses, show output and then search for r04e1404d7efa46e99eb6848bfd2b9786 or the date that you believe has been submitted to the form.


    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts. 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

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 377

#2
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 130

Last 30 days Overall leaderboard