connection_type might be None instead of missing