cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
chris61
Level: Powered On

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
Dual Super User
Dual Super User

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

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
Dual Super User
Dual Super User

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

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!
Highlighted
chris61
Level: Powered On

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

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.

Dual Super User
Dual Super User

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

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

chris61
Level: Powered On

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

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 283 members 4,721 guests
Please welcome our newest community members: