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

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

MS flow error

(0) ShareShare
ReportReport
Posted on by

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

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,480 Most Valuable Professional on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard