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 Apps / BUG REPORT: Inconsiste...
Power Apps
Answered

BUG REPORT: Inconsistency with error messages

(0) ShareShare
ReportReport
Posted on by 1,532

I have tried to add same value into a SQL unique column and display the error in the label with

 

First(Errors('dbo name')).Message

 

I get an error message on my pc 

The request operation is invalid

 

and on my iphone

Unknown error

 

Can anyone please take a look at it and fixed it.

 

BTW there is also automatically generated error message in published app on iphone at the top of the screen which says exactly the same thing. Any chance to disable that message?

Categories:
I have the same question (0)
  • Meneghino Profile Picture
    6,949 on at

    This is just a comment.  In your app you should check for duplicate values before the Patch operation so that you can manage the error before it occurs.

  • Sienna Profile Picture
    1,532 on at

    @Meneghino

    You can't do that in 2 scenarios.

     

    1/ When 2 users will try add same value into a unique column at the same time

     

    2/ When the value which is added into the unique column is  already in more then 2000th row which is the limit for sql tables as far as i know

  • Sienna Profile Picture
    1,532 on at

    @Meneghino

    I appologise for the second point. I've just tested it and it looks like we can look for a duplicates even in above 2000 row limit. But still first point remains imposible to check for duplicates. I'm just thinking... When we are not able to check 100% for duplicates,  do we really have to check for duplicates when we can only trigger error message? It would lighten up the code and even performance of the app. But we need reliable error message... Please any answers here

  • Verified answer
    Sienna Profile Picture
    1,532 on at

    Just got my PA updated on my phone and it looks like the error messages are fixed now. 

     

    Any chance to get rid of the system message marked on the picture? User of the app doesn't need to know the details and therefore it is not very user-friendly for him anyway. The message should be displayed in studio rather then in publised app

     

    err.png

  • Sienna Profile Picture
    1,532 on at

    Also it would be very useful to pull the value which is duplicated.

     

    err-dup-key.png

     

    The Error.Column return blank which according to 

     

    • Column. The column that caused the error, if the error can be attributed to a single column. If not, this will be blank.

    should be only single column in unique column so it should have a value

     

    err-det.png

  • Meneghino Profile Picture
    6,949 on at

    I fully agree with @Sienna that the Errors function is not really up to standard.

    It should be improved.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard