I'm having a hard time updating subscriber's attribute with this piece of code :
$client = new \ET_Client(); $subscribers = new \ET_Subscriber(); $subscribers->authStub = $client; $subscribers->filter = array('Property' => 'SubscriberKey','SimpleOperator' => 'equals','Value' => $subscriberEmail); $subscriber = $subscribers->get(); $subscriber->results->Attributes->Value = false; $update = $subscriber->patch();
With this I'm getting this error : Exception occurred during [UpdateSubscriber] ErrorID: 227429849
I'm used to update with the SOAP API without problem usually.
Does someone can help me please ?
Thank you !