cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ASolomon
Level: Power Up

The Sting is not a valid TimeSpan value

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

7 REPLIES 7
Community Support Team
Community Support Team

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

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MustafaKM
Level: Power Up

Re: The Sting is not a valid TimeSpan value

Did you find a solution?

FabianGutierrez
Level: Power Up

Re: The Sting is not a valid TimeSpan value

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

LAdyStorm
Level: Power Up

Re: The Sting is not a valid TimeSpan value

PT6H works and so does PT48H 

 

maybe it does not like the D for day?

FabianGutierrez
Level: Power Up

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 Smiley Happy

Highlighted
JenVitug
Level 8

Re: The Sting is not a valid TimeSpan value

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

JenVitug
Level 8

Re: The Sting is not a valid TimeSpan value

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

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

thirdImage

New Flow Community Board!

Check out the new Microsoft Flow Community Blog Topic Suggestion board!

fourthImage

Australia Summit

Travel to Melbourne and network with thousands of peers!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 23 members 4,242 guests
Please welcome our newest community members: