Call to a member function selectHeaderAccept() on string

Hi, I am working on Codeigniter framework. Currently While Access your API I am Facing
Call to a member function selectHeaderAccept() on string

Hi @salahuddinshaikh – would you be able to share at which point or API call you’re seeing this error? If you could share any steps to recreate the issue, that would also be great!

Hello @shreya, - I was trying to create customer

<?php $customersApi = new DwollaSwagger\CustomersApi($apiClient); $newCustomer = $customersApi->create([ 'firstName' => 'John', 'lastName' => 'Doe', 'email' => 'jdoe@nomail.net', 'type' => 'personal', 'address1' => '99-99 33rd St', 'city' => 'Some City', 'state' => 'NY', 'postalCode' => '11101', 'dateOfBirth' => '1970-01-01', 'ssn' => '1234' ]); ?>

Message: Call to a member function selectHeaderAccept() on string
can you please replay of above question
i have same error facing

So can you please help me on that
I am using in codeigniter also.

Hi @Ajay_Prajapati, Would you be able to share some of your code, as well as more information on your dev environment (OS, PHP version, etc.)?