Following code for adding contenct in the list is not working $contact = new Contact(); $contact->id = "12345678"; $contact->first_name = "javed"; $contact->last_name = "khan"; $contact->addEmail("javed.khan@example.com"); $contact->addList('099896ba-0ce6-11eb-81d5-**********'); $ctct = new ConstantContact('n4chre33sujpn5ef3*******'); $contacts = $ctct->contactService->addContact('9d2541bf-b864-46e9-990a-***********', $contact, array()); var_dump($contacts); the following error what gets when executing the above code An uncaught Exception was encountered Type: Ctct\Exceptions\CtctException Message: Bad Request Filename: C:\xampp\htdocs\vgt-api\application\third_party\vendor-constantcontact\constantcontact\constantcontact\src\Ctct\Services\BaseService.php Line Number: 78 Backtrace: File: C:\xampp\htdocs\vgt-api\application\third_party\vendor-constantcontact\constantcontact\constantcontact\src\Ctct\Services\ContactService.php Line: 144 Function: convertException File: C:\xampp\htdocs\vgt-api\application\controllers\JConstantcontact.php Line: 81 Function: addContact File: C:\xampp\htdocs\vgt-api\index.php Line: 286 Function: require_once
... View more