web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / The Sting is not a val...
Power Automate
Unanswered

The Sting is not a valid TimeSpan value

(2) ShareShare
ReportReport
Posted on by

I am trying to set the timeout period for an email with options.

 

I am using the standard ISO format of 'PT1D' as shown in the settings for my email action:

 

 

TimeSpan 02.png

 

And yet I still get an error that this is not a valid TimeSpan value, is there something I am doing wrong here?

 

TimeSpan 01.png

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi ASolomon,

     

    Not sure how is your flow configured. Could you show me a full screenshot of your flow configuration?


    I am trying to reproduce this issue on my side.

     

    Best regards,
    Mabel Mao

  • MustafaKM Profile Picture
    2 on at

    Did you find a solution?

  • FabianGutierrezArdts Profile Picture
    8 on at

    Hi, I have the same issue, any solution to this ? Thx!

  • Community Power Platform Member Profile Picture
    on at

    PT6H works and so does PT48H 

     

    maybe it does not like the D for day?

  • FabianGutierrezArdts Profile Picture
    8 on at

    Hi LadyStorm,

    The problem was indeed a syntax (ISO format) issue. Based on the Hint that we get on the UI of the flow, I was misled.

    The rule is P (Period) T(duration) H (Hour) M(Minute) S(Second).

    Thanks for your reply 🙂

  • JenVitug Profile Picture
    264 on at

    I have the same issue, i was using PT2D and encountered the same error.  

  • JenVitug Profile Picture
    264 on at

    I  have replaced my PT2D to PT48H, will know if this works soon enough 🙂

  • Samithasony Profile Picture
    8 on at

    You need to use the following format.

    In days: P1D 

    In hours: PT2H

    In minutes: PT2M

     

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard