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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / This error message nee...
Power Automate
Unanswered

This error message needs to be reworded as it describes an impossible condition

(0) ShareShare
ReportReport
Posted on by 108

InvalidTemplate. The 'start index' for function 'substring' must be equal to or greater than zero and must be less than '0' which is the length of the string.https://aka.ms/logicexpressions#substring

 

I'll fix the issue that caused this but I see the error says that something must be "equal to or greater than zero" AND less then zero. Again, I'm sure I'll figure out what the issue is but that error code is worse than vague. 

Categories:
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    @obadiahjohnson 

     

    The value 0 in that error is dynamic. You’ve provided an empty/null string, length 0. 

    Damien

  • obadiahjohnson Profile Picture
    108 on at

    It probably is dynamic. That doesn't change the need for the error message wording to be adjusted so it can't be self-contradictory.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 423

#2
11manish Profile Picture

11manish 308 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 177

Last 30 days Overall leaderboard