question

张宇 avatar image
张宇 asked

Alexa app无法绑定技能,提示请重试

我通过 amazom alexa app 绑定我的技能,在确定方向时提示无法将 unito-test-skill 与 Alexa 链接地址是:https://iot-test.unito-tech.com/oauth/authorize?client_id=123456&响应类型=代码&状态=A2SAAEEAEGhCqrMvkMY1qSxoOsuAqMEB4HEReUYZKhEet10IzkawXa3k1xTBORUM_WxC3O5hU1j98zfGErpxs0VECtyU5NjW-UuzIxI1QF43GZpYNZZMgx15hgZjsil4 zqP_MFKXcEY 75v-dcbgXKUSotlkRpRU_223dOkb_cB_HBwt_BkqN8uXGbEYgh0BUlVDsZ81sTg8DGEUTs64_v9KI2nYbudv0tNrcfZVWtLN_-lSHgh0sAMzrUIjL9goZGK5XFQXG8EBLj AKdKzRCKN6MSi GJZqk4YqyfjD58PZjRoRRSI47kydzFJg77geDotBI4fHRlZs2YzEsYB3GUVYYaV6QB92FRbKssLQaqNsRwvl2eQtFiCcZso9rer7ocq9LaUgOS7mAwK2M_Bi1dm-q15z EGZPaVgLURkWGN7 iVuZpsv7nhzfU0UDKLdRUh7wf05JDGgrU9pnCcHmBZOB71H2gYUKKKNfe6uHzkFQTqU2U5jN76mQMxIuM7I8Oqiz1b6SFyh87zw41A2DPRjaKfSpeeozmioQXsnV -qWBgycKXz2U FFfU0McTSJcjwMX6_MAuILy_R6A-t80M4PwcHvZ7OqmRhSiqH0WPEjdLsY3DFpuh6-F1AfhYHTEdEiGg_iFC2liybW3DYw4Ayc0hW6FM9dNOB22DQ&scope=all&redirect_uri=https%3A%2F%2Fpitangui.amazon.com%2Fapi%2Fskill%2Flink%2FM3ECBTVBD8H5CY

alexa smart homeaccount linkingapp
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Will@Amazon avatar image
Will@Amazon answered

As a starting point, I would strongly recommend reading over the following blog and knowledge base article. They cover the most common points of friction that Alexa developers encounter with account linking, as well as providing some tips on how to best debug your skill's account linking implementation:

Troubleshooting account linking blog
Account linking debugging knowledge base article

Note that It is important that your skill properly handles the AcceptGrant directive from the Alexa.Authorization interface. If you enable the Send Alexa Events permission for the skill, your Lambda function must handle the AcceptGrant directive. If your skill doesn't handle this directive, account linking fails when the user attempts to enable your skill.

After the "Send Alexa Events" switch is enabled, from that point on your skill's Lambda function will be sent an "Alexa.Authorization" interface "AcceptGrant" directive each time someone attempts account linking to which, your skill's back-end must respond with an "Alexa.Authorization" "AcceptGrant.Response", For details, see Request Access to the Alexa Event Gateway

For more details about implementing account linking for smarthome skills please start Account Linking for Smart Home and Other Domains and Validate and Use Access Tokens in Smart Home, Video, and Meetings Skill Code


10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.