cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chris61
Helper II
Helper II

The 'Access Mode' column in the data source you're updating expects a 'OptionSetValue' type and you're using a 'Option Set Value Type'

PowerApps appears to be increasingly unstable. I am getting this message:

 

The 'Access Mode' column in the data source you're updating expects a 'OptionSetValue' type and you're using a 'Option Set Value Type'

 

See image titled 'PowerAppsIssue'.

 

However, I save and reload the app and it's fine (see PowerAppsIssue-OK)!

 

What is going on here?

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hey @chris61 

 

This is a runtime error which is encountered when a request is initiated. That is why after refreshing the error goes away but it appears back as soon as the button is clicked.
 
Are you getting any more errors? Please share more details.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

4 REPLIES 4
yashag2255
Dual Super User II
Dual Super User II

Hey @chris61 

 

To resolve this issue, you need to pass the values for lookup type column in the correct schema using the Choices(EntityName.ColumnName) expression as:
 
{
'Shift Activity': Lookup(Choices('Shift Activity Assistants'.'Shift Activity'),'Activity UID' = LinkedActivity),
Assistant: Lookup(Choices('Shift Activity Assistants'.Assistant), User=UserID),
Name: Name
}
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Hi thanks again this does appear to be working and it appears to have helped another issue I was having. However, what I don't understand is why this original issue is an issue on the first load but when reloading it goes away.

yashag2255
Dual Super User II
Dual Super User II

Hey @chris61 

 

This is a runtime error which is encountered when a request is initiated. That is why after refreshing the error goes away but it appears back as soon as the button is clicked.
 
Are you getting any more errors? Please share more details.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Hi Yashag, your comment of using Choices() seems to be fixing the errors I'm getting. It's been very helpful thank you!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,300)