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 / Flow Failure - Conditi...
Power Automate
Unanswered

Flow Failure - Condition Starts With stopped recognizing value as string

(0) ShareShare
ReportReport
Posted on by 4

The condition statement (which has been running for a couple years) isn't able to recoginze the "https" string value as a string anymore. Below is the error that's being thrown. 

 

Unable to process template language expressions for action 'Condition_2' at line '0' and column '0': 'The template language function 'startsWith' expects its first parameter to be of type string. The provided value is of type 'Null'. Please see https://aka.ms/logicexpressions#startswith for usage details.'.

 

The condition looks at the name of a photo to determine if it starts with https. If it does it processes. If it doesn't it sends an email. 

 

Any direction on how to troubleshoot this. I'm at a loss. Thanks!

Condition_that_is_failing.jpg
Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @dgris 

     

    I think it is not problem with your condition which you are using, but with the value of photo dynamic content !

     

    Nived_Nambiar_0-1702396526802.png

     

    Before this condition see what is the value of Photo dynamic content, seems like it is null from the error message it seems !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Chriddle Profile Picture
    8,729 Super User 2026 Season 2 on at

    This error message simply means, that there is no items('Apply_to_each(Approvals)')?['Photo']

    Either the property Photo is set to null or there is no such property.

    The quick fix would be coalesce( items('Apply_to_each(Approvals)')?['Photo'], '') to make this an empty string if null.

    But also checking the outputs of the flow run and investigating why this happens might be necessary.

  • dgris Profile Picture
    4 on at

    Thanks for the response Chriddle. I'll try your ideas and see if I can fix it.

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
11manish Profile Picture

11manish 307 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 289

#3
Henil Profile Picture

Henil 127

Last 30 days Overall leaderboard