Update class.api.php
CRM\ClientBundle\ClientFactory - Bootstrap using civicrm.config.php.