Skip to main content
Community site session details

Community site session details

Session Id : que+ZOYV3pl62ts3AeWiYk
Power Automate - Using Flows
Unanswered

MS flow error

Like (0) ShareShare
ReportReport
Posted on 2 Dec 2022 09:45:38 by

The length of substring can't be longer than '1962' which is the length of the source string.

  • Expiscornovus Profile Picture
    32,182 Most Valuable Professional on 02 Dec 2022 at 14:44:06
    Re: MS flow error

    Hi @Anonymous,

     

    Like the error mentions. The substring function expects the following format

    substring('<text>', <startIndex>, <length>)

     

    The last part, the length cannot be longer than the actual length of the source string. That is what the error means.

     

    If you don't know or want to use a length calculation at all I would suggest to use a slice function instead. That function does not require a length.

    slice('<text>', <startIndex>, <endIndex>?)

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Featured topics

Restore a deleted flow
Loading complete