magento2.2.6 – Error creating client attribute: Incorrect attribute group ID

I create a client attribute, but the error is executed when ordering the installation upgrade

Bad Attribute Group ID

here is my code to create a client attribute

eavSetupFactory = $ eavSetupFactory;
$ this-> eavConfig = $ eavConfig;
$ this-> customerSetupFactory = $ customerSetupFactory;
}

/ **
* {@inheritdoc}
* @SuppressWarnings (PHPMD.ExcessiveMethodLength)
* /
Upgrading the public function (moduleDataSetupInterface $ setup, ModuleContextInterface $ context) {
/ ** @var EavSetup $ eavSetup * /
$ eavSetup = $ this-> eavSetupFactory-> create (['setup' => $setup])
if (version_compare ($ context-> getVersion (), & # 39; 1.0.1 & # 39;) < 0) {
            $customerSetup = $this->customerSetupFactory-> create (['setup' => $setup])
$ customerSetup-> addAttribute ( Magento  Client  Template  Client :: ENTITY, 'customer_feedback', [
                'label' => 'Referral Sources',
                'input' => 'text',
                'type' => 'varchar',
                'source' => '',
                'required' => false,
                'position' => 0,
                'visible' => true,
                'system' => false,
                'is_used_in_grid' => true,
                'is_visible_in_grid' => true,
                'is_filterable_in_grid' => true,
                'is_searchable_in_grid' => true,
                'backend' => ''
            ])
$ attribute = $ customerSetup-> getEavConfig () -> getAttribute ('customer & # 39 ;, & # 39; customer_feedback & # 39;)
-> addData (['used_in_forms' => [
                    'adminhtml_customer'
                ]])
$ attribute-> save ();
}
}
}

can any one help me with even …

Magento version 2.2.6