showing error message for incorrect option input

if security_groups and security_group_ids are not provided as an array