Why won't API add this subscriber?

Lakjin

Active Member
Code:
object(MailWizzApi_Http_Response)#13 (11) {
  ["url"]=>
  string(76) "xxx/api/lists/xxx"
  ["headers"]=>
  NULL
  ["contentType"]=>
  string(31) "application/json; charset=UTF-8"
  ["httpMessage"]=>
  string(20) "Unprocessable Entity"
  ["curlCode"]=>
  int(0)
  ["curlMessage"]=>
  string(0) ""
  ["storeCurlInfo"]=>
  bool(false)
  ["curlInfo"]=>
  NULL
  ["body"]=>
  object(MailWizzApi_Params)#11 (2) {
    ["_data":"MailWizzApi_Params":private]=>
    array(2) {
      ["status"]=>
      string(5) "error"
      ["error"]=>
      string(30) "Unable to save the subscriber!"
    }
    ["_readOnly":"MailWizzApi_Params":private]=>
    bool(false)
  }
  ["request"]=>
  NULL
  ["_httpCode":"MailWizzApi_Http_Response":private]=>
  int(422)
}

The above is the error code I get. Any way to know why MailWizz won't add this subscriber? For blacklisted subscribers, it tells me the subscriber is blacklisted. Is the above an unsubscribed subscriber? How can I tell?

Thanks!
 

twisted1919

Administrator
Staff member
Hey,

What email address is this? (you can edit the domain in email, but leave the first part).
Does it happen only for this particular email address?
 

Lakjin

Active Member
Hey,

What email address is this? (you can edit the domain in email, but leave the first part).
Does it happen only for this particular email address?
It happens for a bunch of emails. Based on a quick test, it looks like the error returns for people that have unsubscribed; if that is the case, the error should be more descriptive so we know what is going on.
 
Top