diff --git a/src/Api/Error.php b/src/Api/Error.php index bf0b91a5..123558a5 100644 --- a/src/Api/Error.php +++ b/src/Api/Error.php @@ -22,8 +22,8 @@ public function __construct($errorData = null) */ public function getText() { - if (isset($this->errorData['message'])) { - return $this->errorData['message']; + if (isset($this->errorData['message_detail'])) { + return $this->errorData['message_detail']; } if (isset($this->errorData['code'])) {