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 Pages / condition step causing...
Power Pages
Answered

condition step causing error

(0) ShareShare
ReportReport
Posted on by 116

I have a multistep form on a page that is being used to edit a record. I load the record with a query parameter of id,

The second step is a condition on a yes/no field and as soon as I hit next from the first step I get the generic "We are sorry, but seems something went wrong. Please try again, and if this persists, contact the website administrator." error.

 

I have tried both pl_stateca = 1 and pl_stateca = Yes both throw the error right away and for the life of me I cant figure out why....

 

Just for fun I also tried pl_name != 1 (pl_name is a text field) and also get the error.

 

Categories:
I have the same question (0)
  • Verified answer
    Jeff_ccs Profile Picture
    116 on at

    if anyone else ever runs into this one.

    under portal management > portal actions. you can disable friendly errors and it will actually tell you what's wrong. apparently a yes no field needs to be evaluated against "true" or "false" 

  • tinyDev Profile Picture
    9 on at

    I have a very similar problem but unfortunatly for me, the solution was not to use true/false instead of 1/0. 
    Where does one find the option to toggle "friendly errors" nowadays? 

  • aofosu Profile Picture
    105 on at

    You will find the portal actions in the Admin Center: View error logs | Microsoft Learn

    aofosu_0-1701992647356.png

    If you disable custom errors the error logs/messages will change from simple logs like this:

    aofosu_1-1701993876646.png

    to well detailed error logs like this:

    aofosu_2-1701993935065.png

     




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!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 49

#2
11manish Profile Picture

11manish 33

#3
Haque Profile Picture

Haque 28

Last 30 days Overall leaderboard