That error is shown in VS on the ErrorList tab but doesn’t tell much. In this case the Output tab usually generates a message telling exactly what is wrong.
If I have to guess, it shows because the UProperty is marked BlueprintReadOnly and is also private, which is unsupported.