简体   繁体   English

谷歌智能家居应用程序上的动作不调用 fullfilment

[英]acions on google smart home app not calling fullfilment

I am trying to make an actions on google smart home app.我正在尝试对谷歌智能家居应用程序进行操作。 I have implemented my oAuth2.0 server which seems to work fine.我已经实现了我的 oAuth2.0 服务器,它似乎工作正常。 It generates an authorization token and sends it to Google with the state parameter provided by Google.它生成授权令牌并使用 Google 提供的state参数将其发送给 Google。 However, when I try to do the account linking in my google home app, it fails with the default couldn't update the setting error.但是,当我尝试在我的 google home 应用程序中进行帐户链接时,它失败了,默认couldn't update the setting错误。 When I check my Firebase console, it says my smartHome function - the smart home fulfillment I provided in the actions on Google console - was never called, even though the other functions completed successfully.当我检查我的 Firebase 控制台时,它说我的 smartHome function - 我在 Google 控制台上的操作中提供的智能家居实现 - 从未被调用,即使其他功能已成功完成。

What is the cause/solution for this?这是什么原因/解决方案?

The Smart Home fulfillment is never called for your action because apparently your OAuth flow is not correctly set up. Smart Home fulfillment 永远不会要求您执行操作,因为显然您的 OAuth 流程设置不正确。 Please visit this link and make sure that everything is set up according to the authorization code flow.请访问此链接并确保一切都根据授权代码流程进行设置。

Furthermore, Test Suite can also be used to validate the account linking implementation: https://developers.google.com/assistant/smarthome/tools/smart-home-test-suite#account_linking_validation_test此外, Test Suite也可用于验证帐户链接实施: https://developers.google.com/assistant/smarthome/tools/smart-home-test-suite#account_linking_validation_test

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我的谷歌智能家居服务的帐户链接失败 - Account linking fails on my google smart home service 我们如何找到谷歌智能家居行动数据服务器位置? - How do we find out the google smart home action data server location? 在访问 dialogflow webhook url 中提供的 fulfillment URL 时,我在谷歌智能家居中遇到后端故障错误 - I'm getting backend failure error in google smart home while accessing fulfillment URL provided in dialogflow webhook url 使用 google assistant/google home 自动打开 URL - automatically opening URL with google assistant/google home 调用 spring 启动时出错 api 通过 Cloud build 部署在 google App Engine 中 - Error while calling spring boot api which is deployed in google App Engine through Cloud build 从 Android/iOS Unity 应用程序向家庭 PC 发送消息并返回消息 - Sending messages to home PC and back from Android/iOS Unity app 如何为 Google Cloud Firestore 添加和检索智能表数据 - How add and retrieve smart table data for Google cloud firestore Google Cloud Run:从 GCP 外部调用 - Google Cloud Run: Calling from outside GCP 调用 Google Cloud 时出错 function - 超出限制 - Error calling Google Cloud function - limits exceeded 谷歌应用引擎 JDO 3 - Google App Engine JDO 3
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM