I have a custom form that displays JSON parsing error, expected 'object' but got 'array'. error when attempting to submit a new item. The form uses another list with two columns (first allows only one selection; second allows multiple selections - the options in this populate based on the selected item in the first). A formula error is also indicated in PowerApps relating to the same field - the property on this control experts Record values, the rule produces Tables values which are incompatible.
The formula for the first field is: Distinct(Sub, BroadThemes); for the second field:
Distinct(
Filter(
Sub,
BroadThemes=DataCardValue22.Selected.Value
),
SubThemes
)
Could anyone tell me what's going wrong here? Thanks!!