An error occurred when trying to get Gmail aliases: {
  &quot;error&quot;: {
    &quot;code&quot;: 401,
    &quot;message&quot;: &quot;Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.&quot;,
    &quot;errors&quot;: [
      {
        &quot;message&quot;: &quot;Login Required.&quot;,
        &quot;domain&quot;: &quot;global&quot;,
        &quot;reason&quot;: &quot;required&quot;,
        &quot;location&quot;: &quot;Authorization&quot;,
        &quot;locationType&quot;: &quot;header&quot;
      }
    ],
    &quot;status&quot;: &quot;UNAUTHENTICATED&quot;,
    &quot;details&quot;: [
      {
        &quot;@type&quot;: &quot;type.googleapis.com/google.rpc.ErrorInfo&quot;,
        &quot;reason&quot;: &quot;CREDENTIALS_MISSING&quot;,
        &quot;domain&quot;: &quot;googleapis.com&quot;,
        &quot;metadata&quot;: {
          &quot;service&quot;: &quot;gmail.googleapis.com&quot;,
          &quot;method&quot;: &quot;caribou.api.proto.MailboxService.ListSendAs&quot;
        }
      }
    ]
  }
}