rapidwebltd / php-google-contacts-v3-api simplexml_load_string()错误:打开和结束标记不匹配:元行1和头部

Retrieving google contacts simplexml_load_string(): error.

How can I solve this here is my code.

$client = GoogleHelper::getClient($customConfig);

    $req = new \Google_Http_Request('https://www.google.com/m8/feeds/contacts/default/full?max-results=10000&updated-min=2007-03-16T00:00:00');

    $val = $client->getAuth()->authenticatedRequest($req);

    $response = $val->getResponseBody();

    $xmlContacts = simplexml_load_string($response);

Here is $response data.

dd($response);

<html><head><meta http-equiv="Content-Type" content="text/html; 
charset=utf-8">

<title>Error

401

(Client Error)!!1</title>

<style type="text/css">

    *{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{background:url(data:image/png;base64,iV ▶
  </style></head>

<body><a href="//www.google.com/" id="g"><img 
src="//www.google.com/images/logo_sm_2.gif" alt="Google" width="150" 
height="55"></a>

<p><b>401.</b>

<ins>That&#39;s an error.</ins></p>

<p>There was an error in your request.

<ins>That&#39;s all we know.</ins></p></body></html>