[英]Google smart home responds mode not available for authFailure errorCode
I have implemented google smart home skill.我已经实现了谷歌智能家居技能。 I have function to validate token.我具有验证令牌的功能。 If token is not valid I return payload as below如果令牌无效,则返回有效载荷,如下所示
{
requestId : from req,
payload : {
errorCode : "authFailure"
}
}
For Query intent google responds proper error message like "Can't Seem to reach your electric. Try checking the app to make sure your device is fully set up"对于查询意图,Google响应正确的错误消息,例如“似乎无法接通电源。请尝试检查该应用程序以确保您的设备已完全设置”
But For Execute intent, First query intent is called as I can see in logs.但是对于执行意图,正如我在日志中看到的那样,首先查询意图被调用。 Where Same payload is returned.返回相同有效负载的位置。 But google responds with message "Sorry that mode is not available."但是google回应消息“很抱歉,该模式不可用。”
I am not able to understand this behaviour.我无法理解这种行为。
I have implemented google smart home skill.我已经实现了谷歌智能家居技能。 I have function to validate token.我具有验证令牌的功能。 If token is not valid I return payload as below如果令牌无效,则返回有效载荷,如下所示
{
requestId : from req,
payload : {
errorCode : "authFailure"
}
}
For Query intent google responds proper error message like "Can't Seem to reach your electric. Try checking the app to make sure your device is fully set up"对于查询意图,Google响应正确的错误消息,例如“似乎无法接通电源。请尝试检查该应用程序以确保您的设备已完全设置”
But For Execute intent, First query intent is called as I can see in logs.但是对于执行意图,正如我在日志中看到的那样,首先查询意图被调用。 Where Same payload is returned.返回相同有效负载的位置。 But google responds with message "Sorry that mode is not available."但是google回应消息“很抱歉,该模式不可用。”
I am not able to understand this behaviour.我无法理解这种行为。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.