Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Power Apps Studio Editor - Erroneous Errors with Option Set/Choice Values

(1) ShareShare
ReportReport
Posted on by 105
I have a Canvas App that is functioning completely fine. Only every time I open the editor, it is riddled with errors almost everywhere that I reference an Option Set/Choice value:
 
 
I am the only developer for my organization so I know for a fact that no option set values have been modified/republished since my last app Studio session. All I have to do to get the errors to go away, in the above example, would be to delete the letter 'n' in "...Status (Opportunities)'].Open" and then retype it exactly as I had it before. All fine, except there's roughly 59 references to these values throughout the app and it's annoying, and potentially distracts from actual errors that need to be addressed.
 
I have tried clearing my browsers cache while within the studio session to no avail.
 
Has anyone else experienced this?
Categories:
  • timl Profile Picture
    timl 33,713 on at
    Power Apps Studio Editor - Erroneous Errors with Option Set/Choice Values
     
    Thanks for the update. I think this is definitely a bug with the editor. I hope Microsoft will fix this.
     
    There's another post today from someone with this same problem.
  • Cosmic_Kitchen Profile Picture
    Cosmic_Kitchen 105 on at
    Power Apps Studio Editor - Erroneous Errors with Option Set/Choice Values
    timl (I'm unable to tag you for some reason), After clearing errors like this, they seem to stay away for a few studio sessions, but then find their way back in. I haven't been able to identify a pattern to when they show up or not.
     
    @ronaldwalcott As to when this first occurred; It's been happening on and off for at least a few months. I should have mentioned in my initial post, but I have tried refreshing the data sources for the app after opening a session and seeing the errors, but just doing that alone doesn't clear the errors automatically. Next time this pops up, I'll try refreshing data sources -> Save -> close current studio session -> open new studio session and see if that does the trick.
  • timl Profile Picture
    timl 33,713 on at
    Power Apps Studio Editor - Erroneous Errors with Option Set/Choice Values
     
    I suspect it might be an update to Power Apps or the New Analysis engine that causes this behaviour.
     
    I've definitely heard of others that have experienced this. 
     
    I believe it might be possible to use the Search>Replace option in the editor and to replace "Status (Opportunities)'].Open" with "Status (Opportunities)'].Open".  This would have the same effect as what you're doing but it would address the 59 references in one go.
     
    Just to confirm, once you remove an error by retyping it, does stay fixed when you close/reopen the app, or does the error come back? 
  • ronaldwalcott Profile Picture
    ronaldwalcott 1,443 on at
    Power Apps Studio Editor - Erroneous Errors with Option Set/Choice Values
    When did this first occur? Did you make changes to the underlying data structure? If so, did you refresh the data source in Power Apps studio? 

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard