Og Membership entity not created when assigning new node to Group; works when editing node
The issue turned out to be a hook_node_insert using entity_metadata_wrapper.  I refactored that code to use hook_node_presave to set the field value (field unrelated to organic group) instead: $node-&gt;field_short_url_code[LANGUAGE_NONE][0]['value'] = $string; and all is well.