diff --git a/lib/API/JSON/v1/Subscribers.php b/lib/API/JSON/v1/Subscribers.php index 7c9557c2fd..7f4a7db5fd 100644 --- a/lib/API/JSON/v1/Subscribers.php +++ b/lib/API/JSON/v1/Subscribers.php @@ -1,4 +1,4 @@ -confirmationEmailMailer->sendConfirmationEmail($subscriber)) { return $this->successResponse(); } - return $this->errorResponse(); + return $this->errorResponse([ + APIError::UNKNOWN => __('There was a problem with your sending method. Please check if your sending method is properly configured.', 'mailpoet'), + ]); } else { return $this->errorResponse([ APIError::NOT_FOUND => WPFunctions::get()->__('This subscriber does not exist.', 'mailpoet'),