<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can't trace errors from log explorer in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Can-t-trace-errors-from-log-explorer/m-p/593279#M6462</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a project for google home and we found some errors that we can't trace in our own logs on the server. Can anybody provide some more information on what is happening?    &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51365iE30B812044BB5F91/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51367iA2F469970FC975E8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51366iFB95A978CD035EE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51368i875FEFE26099E06A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"@type":"type.googleapis.com/google.identity.accountlinking.type.AccountLinkingError", "errorReason":"Could not refresh token, 3P returned error:invalid_grant", "request":{…}, "response":{…}, "sessionId":2.54139613E8, "step":"REFRESH_ACCESS_TOKEN"}

{
  "insertId": "a0zpsc47d",
  "jsonPayload": {
    "step": "REFRESH_ACCESS_TOKEN",
    "request": {
      "headers": {
        "Authorization": "Basic Base64EncodedREDACTEDClientIdAndSecret"
      },
      "uri": "https://assistant.homplex.com/oauth2/token",
      "body": "grant_type=refresh_token&amp;amp;refresh_token=REDACTED_VALUE",
      "method": "POST"
    },
    "response": {
      "status": 400,
      "body": "{\"error\":\"invalid_grant\"}"
    },
    "sessionId": 254139613,
    "errorReason": "Could not refresh token, 3P returned error:invalid_grant",
    "@type": "type.googleapis.com/google.identity.accountlinking.type.AccountLinkingError"
  },
  "resource": {
    "type": "assistant_action_project",
    "labels": {
      "project_id": "homplex-92698"
    }
  },
  "timestamp": "2024-02-05T06:52:01.336Z",
  "severity": "ERROR",
  "logName": "projects/homplex-92698/logs/accountlinking-pa.googleapis.com%2Ferror",
  "receiveTimestamp": "2024-02-05T06:52:01.943664478Z"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if they're normal errors regarding expiration of the token, or if there's something that we are doing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2024 14:02:27 GMT</pubDate>
    <dc:creator>RaresZynk</dc:creator>
    <dc:date>2024-02-06T14:02:27Z</dc:date>
    <item>
      <title>Can't trace errors from log explorer</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Can-t-trace-errors-from-log-explorer/m-p/593279#M6462</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a project for google home and we found some errors that we can't trace in our own logs on the server. Can anybody provide some more information on what is happening?    &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51365iE30B812044BB5F91/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51367iA2F469970FC975E8/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51366iFB95A978CD035EE1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="5.png" style="width: 400px;"&gt;&lt;img src="https://www.googlenestcommunity.com/t5/image/serverpage/image-id/51368i875FEFE26099E06A/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"@type":"type.googleapis.com/google.identity.accountlinking.type.AccountLinkingError", "errorReason":"Could not refresh token, 3P returned error:invalid_grant", "request":{…}, "response":{…}, "sessionId":2.54139613E8, "step":"REFRESH_ACCESS_TOKEN"}

{
  "insertId": "a0zpsc47d",
  "jsonPayload": {
    "step": "REFRESH_ACCESS_TOKEN",
    "request": {
      "headers": {
        "Authorization": "Basic Base64EncodedREDACTEDClientIdAndSecret"
      },
      "uri": "https://assistant.homplex.com/oauth2/token",
      "body": "grant_type=refresh_token&amp;amp;refresh_token=REDACTED_VALUE",
      "method": "POST"
    },
    "response": {
      "status": 400,
      "body": "{\"error\":\"invalid_grant\"}"
    },
    "sessionId": 254139613,
    "errorReason": "Could not refresh token, 3P returned error:invalid_grant",
    "@type": "type.googleapis.com/google.identity.accountlinking.type.AccountLinkingError"
  },
  "resource": {
    "type": "assistant_action_project",
    "labels": {
      "project_id": "homplex-92698"
    }
  },
  "timestamp": "2024-02-05T06:52:01.336Z",
  "severity": "ERROR",
  "logName": "projects/homplex-92698/logs/accountlinking-pa.googleapis.com%2Ferror",
  "receiveTimestamp": "2024-02-05T06:52:01.943664478Z"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure if they're normal errors regarding expiration of the token, or if there's something that we are doing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2024 14:02:27 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Can-t-trace-errors-from-log-explorer/m-p/593279#M6462</guid>
      <dc:creator>RaresZynk</dc:creator>
      <dc:date>2024-02-06T14:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't trace errors from log explorer</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Can-t-trace-errors-from-log-explorer/m-p/594311#M6479</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/509747"&gt;@RaresZynk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="3"&gt;&lt;SPAN&gt;Looking at the screenshots shared by you we notice you are receiving “GAL_UNLINKED_BY_3P”, “Agent responded empty JSON”, “EXECUTION_GAL_UNLINKED_BY_3P” and “GAL_NOT_FOUND”.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="3"&gt;&lt;SPAN&gt;The following could be the reason for getting the above mentioned respective errors :&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;UL&gt;
&lt;LI style="font-weight: 400;" aria-level="4"&gt;&lt;SPAN&gt;“GAL_UNLINKED_BY_3P” : When we are trying to refresh the token, if the partner returns an error code through token request we consider the account as unlinked. (403 or 404) .&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="4"&gt;&lt;SPAN&gt;&amp;nbsp;“Agent responded by empty json” : When we send a query or request we get a blank or empty response from the server .&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="4"&gt;&lt;SPAN&gt;“GAL_NOT_FOUND” : account linking error&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI style="font-weight: 400;" aria-level="3"&gt;&lt;SPAN&gt;Google makes calls to your OAuth2 endpoints during the account linking process. These calls can fail for different reasons. Detailed information is logged for these errors and you can monitor them in the &lt;/SPAN&gt;&lt;A href="https://console.cloud.google.com/logs/query" target="_blank"&gt;&lt;SPAN&gt;Logs Explorer page&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; of your cloud console project.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="3"&gt;&lt;SPAN&gt;Google Cloud provides you the tools to monitor the reliability of your projects with Google Cloud Monitoring and debug issues with Google Cloud Logging error logs. Whenever a failure happens when fulfilling user intents, Google Home Analytics pipeline records that failure on your metrics, and publishes an error log in your project logs.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI style="font-weight: 400;" aria-level="3"&gt;&lt;SPAN&gt;You can find more information about Monitoring Errors, Platform Error Codes and Search logs &lt;/SPAN&gt;&lt;A href="https://developers.home.google.com/cloud-to-cloud/analytics/troubleshooting" target="_blank"&gt;&lt;SPAN&gt;here&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 08 Feb 2024 17:28:09 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/Can-t-trace-errors-from-log-explorer/m-p/594311#M6479</guid>
      <dc:creator>sipriyadarshi</dc:creator>
      <dc:date>2024-02-08T17:28:09Z</dc:date>
    </item>
  </channel>
</rss>

