Making sure that an organization has at least name or code
Catching exception for non-existent id