When I run the simple_form example with debugging turned on, and I inspect the CC_ContactObject, I get an unauthorized error.
The username and password returned are the same as I am currently logged in with typing this. The apikey is what I got from the request form.
Please advise on the following output:
The requested URL returned error: 401
CC_Contact Object (
[login] => luxurydaily
[password] => xxxxx
[apikey] => xxxxx
[contact_lists] => Array ( )
[show_contact_lists] => 1
[actionBy] => ACTION_BY_CONTACT
[curl_debug] => 1
[requestLogin] => xxxxx %luxurydaily:xxxx
[lastError] => An Error Occurred
[apiPath] => https://api.constantcontact.com/ws/customers/luxurydaily [doNotIncludeLists] =>
 => Removed
 => Do Not Mail
 => Active ) )
Where there any spaces in the apikey by any chance? Send me an email to email@example.com with the actual code so I can try to troubleshoot this.
View API documentation, code samples, get your API key.