Skip to main content

Notifications

Community site session details

Community site session details

Session Id : UEUT56xCLYrHJvTpIs/2rm
Power Automate - Building Flows
Unanswered

The Sting is not a valid TimeSpan value

Like (2) ShareShare
ReportReport
Posted on 25 Jul 2017 23:01:23 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

  • Samithasony Profile Picture
    8 on 06 Dec 2022 at 10:01:44
    Re: The Sting is not a valid TimeSpan value

    You need to use the following format.

    In days: P1D 

    In hours: PT2H

    In minutes: PT2M

     

     

  • JenVitug Profile Picture
    264 on 17 Apr 2018 at 03:41:25
    Re: The Sting is not a valid TimeSpan value

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

  • JenVitug Profile Picture
    264 on 16 Apr 2018 at 23:39:29
    Re: The Sting is not a valid TimeSpan value

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

  • FabianGutierrezArdts Profile Picture
    8 on 20 Nov 2017 at 17:38:39
    Re: The Sting is not a valid TimeSpan value

    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 🙂

  • Community Power Platform Member Profile Picture
    on 20 Nov 2017 at 14:41:25
    Re: The Sting is not a valid TimeSpan value

    PT6H works and so does PT48H 

     

    maybe it does not like the D for day?

  • FabianGutierrezArdts Profile Picture
    8 on 19 Nov 2017 at 09:15:57
    Re: The Sting is not a valid TimeSpan value

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

  • MustafaKM Profile Picture
    2 on 19 Sep 2017 at 13:35:52
    Re: The Sting is not a valid TimeSpan value

    Did you find a solution?

  • v-yamao-msft Profile Picture
    on 26 Jul 2017 at 06:55:34
    Re: The Sting is not a valid TimeSpan value

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,769 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard