Error thrown

Attempt to assign property "roles" on bool