sz - handle errors in create and update actions