Using subscriberExists always returns 401

Regular Participant

Using subscriberExists always returns 401

Using code suggested by your team, I am trying to check for the existence of an email addres. However, the only result I receive back is a 401.

 

Here is the code I'm using:

$response = $ConstantContact->subscriberExists($emailAddress);
if ($response == false)
{
  //Contact does not exist
echo "Invalid Email Address"; } else { //Contact does exist
echo $response; }

 

and here is the response:

The requested URL returned error: 401

1 REPLY 1
Employee

See response here: http://community.constantcontact.com/t5/Developer-Support-ask-questions/is-it-possible-to-return-tru...

Andrew Weber
Associate Product Manager for EventSpot
Developer Portal

View API documentation, code samples, get your API key.

Visit Page