<?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 Re: externalDebugString: &amp;quot;Unrecognized status: EXCEPTIONS&amp;quot; in Smart Home Developer Forum</title>
    <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612619#M6761</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/535923"&gt;@jasonlowry&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Just wanted to check if you were able to resolve your issue using the above suggestion about "challengeNeeded" or do you still need some help ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 11 Apr 2024 10:04:02 GMT</pubDate>
    <dc:creator>sipriyadarshi</dc:creator>
    <dc:date>2024-04-11T10:04:02Z</dc:date>
    <item>
      <title>externalDebugString: "Unrecognized status: EXCEPTIONS"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612328#M6759</link>
      <description>&lt;P&gt;I've integrated a security system using Google Cloud-to-Cloud. It works, except if there is a blocking exception. For example, if a door is open then the user isn't allowed to arm the system. Here's my response:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;{"requestId":"6894439706274654516","payload":{"commands":[{"ids":["1202C68845CF"],"status":"EXCEPTIONS","states":{"isArmed":false,"online":true,"currentStatusReport":[{"deviceTarget":"1202C68845CF-00005415","blocking":true,"priority":0,"statusCode":"deviceOpen"}]}}]}}&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The problem is that instead of informing the user that the door is open, it says "Sorry, something went wrong controlling &amp;lt;Security System&amp;gt;".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The error logs show the following:&lt;/P&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;status&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;externalDebugString&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&amp;nbsp;&lt;/SPAN&gt;"Unrecognized status: EXCEPTIONS"&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;isSuccess&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&amp;nbsp;&lt;/SPAN&gt;false&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;statusType&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&amp;nbsp;&lt;/SPAN&gt;"PARTNER_RESPONSE_INVALID_STATUS"&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;}&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;The documentation seems to be a bit unclear here, as the sample uses "SUCCESS" status with blocking code, but documentation clearly states:&amp;nbsp;&lt;STRONG&gt;If the command fails due to exceptions, the status should be "EXCEPTIONS", and the exceptions should be reported using the&amp;nbsp;StatusReport&amp;nbsp;trait.&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I've tried with SUCCESS, ERROR, and EXCEPTIONS, all with similar results.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Does anyone have a sample blocking JSON payload that is successful?&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Apr 2024 20:01:40 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612328#M6759</guid>
      <dc:creator>jasonlowry</dc:creator>
      <dc:date>2024-04-09T20:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: externalDebugString: "Unrecognized status: EXCEPTIONS"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612581#M6760</link>
      <description>&lt;P&gt;After messing with some more...&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the system supports bypassing sensors, then you need to add the challengeNeeded. Then the assistant will prompt you that the door is open, then allow you to confirm.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"ERROR"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;"errorCode"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"challengeNeeded"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;"challengeNeeded"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;{&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"ackNeeded"&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;},&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 00:46:05 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612581#M6760</guid>
      <dc:creator>jasonlowry</dc:creator>
      <dc:date>2024-04-11T00:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: externalDebugString: "Unrecognized status: EXCEPTIONS"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612619#M6761</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.googlenestcommunity.com/t5/user/viewprofilepage/user-id/535923"&gt;@jasonlowry&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Just wanted to check if you were able to resolve your issue using the above suggestion about "challengeNeeded" or do you still need some help ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 10:04:02 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612619#M6761</guid>
      <dc:creator>sipriyadarshi</dc:creator>
      <dc:date>2024-04-11T10:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: externalDebugString: "Unrecognized status: EXCEPTIONS"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612675#M6762</link>
      <description>&lt;P&gt;I think the documentation needs to be updated. I found the challengeNeeded while working on something else. I created bug ticket for this.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 15:48:41 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612675#M6762</guid>
      <dc:creator>jasonlowry</dc:creator>
      <dc:date>2024-04-11T15:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: externalDebugString: "Unrecognized status: EXCEPTIONS"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612697#M6763</link>
      <description>&lt;P&gt;Could you share the bug link for the same here ?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2024 17:43:23 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/612697#M6763</guid>
      <dc:creator>sipriyadarshi</dc:creator>
      <dc:date>2024-04-11T17:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: externalDebugString: "Unrecognized status: EXCEPTIONS"</title>
      <link>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/614174#M6816</link>
      <description>&lt;P&gt;Here is the external link:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issuetracker.google.com/issues/333408166" target="_blank"&gt;https://issuetracker.google.com/issues/333408166&lt;/A&gt;&lt;/P&gt;&lt;P&gt;However, this worked for my security system because it supports bypass. If it didn't I think the code needs to return an error:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;"status"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"ERROR"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class=""&gt;"errorCode"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"armFailure"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2024 21:29:53 GMT</pubDate>
      <guid>https://www.googlenestcommunity.com/t5/Smart-Home-Developer-Forum/externalDebugString-quot-Unrecognized-status-EXCEPTIONS-quot/m-p/614174#M6816</guid>
      <dc:creator>jasonlowry</dc:creator>
      <dc:date>2024-04-17T21:29:53Z</dc:date>
    </item>
  </channel>
</rss>

