cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

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
Highlighted
Community Support
Community Support

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.
Highlighted
New Member

Re: The Sting is not a valid TimeSpan value

Did you find a solution?

Highlighted
New Member

Re: The Sting is not a valid TimeSpan value

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

Highlighted
Anonymous
Not applicable

Re: The Sting is not a valid TimeSpan value

PT6H works and so does PT48H 

 

maybe it does not like the D for day?

New Member

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 🙂

Highlighted
Kudo Collector
Kudo Collector

Re: The Sting is not a valid TimeSpan value

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

Highlighted
Kudo Collector
Kudo Collector

Re: The Sting is not a valid TimeSpan value

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

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (6,719)