question

alexa_sa avatar image
alexa_sa asked

We were unable to link testSmartHomeSkill at this time.

I create a smart home skill refer to this article

"https://developer.amazon.com/zh/docs/custom-skills/link-an-alexa-user-with-a-user-in-your-system.html"

when I try to do account link ,I get this error information :

"We were unable to link testSmartHomeSkill at this time."

and I try to resolve this issue according to this article "https://forums.developer.amazon.com/articles/38610/alexa-debugging-account-linking.html"

and I still can't solve the issue.

The flow info is about my smart home skill and operation steps

SkillId: amzn1.ask.skill.ff9435a6-7c2b-4f1a-a70c-70c77bd680e6

AccountLinkingType: AuthCode

Device/Type platform: Browser

AuthorizationUrl: https://alexa.topqizhi.com

Access Token URI: https://alexa.topqizhi.com/token

Whitelisted Domains list: alexa.topqizhi.com and topqizhi.com

The request from Amazon Alexa when I try to link account:

https://alexa.topqizhi.com/?client_id=alexa_smart_home_skill&response_type=code&state=A2SAAEAECq91bm7bR_gjtotkkJ0u2gBsNdlvvhBfMIP9xI34f8lIGfgUdd4w2Hdz4KtckFVxipd-F6VubpJYJCLjLYMBM9CXxD43qmcJ-a1q43MGsSuq2qfKmpIkMBEgjQxuimltgcdRk9B_B-9mqQBgZr71iaWj27EKaob1sbvErcLt3vSU1pkj6wHQanYqOFE6YtvqSnCJpdAZCSUTT63601o_nbtJS0yGTjLiiR4xRO4A35-FpnaCayXwLNoHNrHLcbWWXo0IZYHDIdHfjfH_wBDJqNRoHGwZLchBqq3GQIcgR7LbRLmGbvNokgmz4mBmVgvD3bl4gg5nsCMsPcIkbwYUECz1Bzc4Q1BAWtqjY6cHI-I0Xdpqgz8b9mlccmrQiAczR1hck87bOJwNUs8zLKcfD3suFLK17WKPl90SD1V2aYGxjUonY-IdMWiFcRSB-YaDsZliSM-aiXylwQ3MLkmCLlc15JevGy25Ur3SM4ZGSSnwZTWBinxpgGE79WUxcHpIzBBMZZWG3sduVjLri_xyKK8NcUvmFbQcSIsHjiFHzB9H3nW8qIJZbhuL032uInbdidko8qe5xcbo3R1go_pa2DXlw&scope=alexa_smart_home_skill&redirect_uri=https%3A%2F%2Fpitangui.amazon.com%2Fapi%2Fskill%2Flink%2FM2HSC3ZSZ7HBAO

After the authorization code is generated, we call the below url: https://pitangui.amazon.com/api/skill/link/M2HSC3ZSZ7HBAO/?state=A2SAAEAECq91bm7bR_gjtotkkJ0u2gBsNdlvvhBfMIP9xI34f8lIGfgUdd4w2Hdz4KtckFVxipd-F6VubpJYJCLjLYMBM9CXxD43qmcJ-a1q43MGsSuq2qfKmpIkMBEgjQxuimltgcdRk9B_B-9mqQBgZr71iaWj27EKaob1sbvErcLt3vSU1pkj6wHQanYqOFE6YtvqSnCJpdAZCSUTT63601o_nbtJS0yGTjLiiR4xRO4A35-FpnaCayXwLNoHNrHLcbWWXo0IZYHDIdHfjfH_wBDJqNRoHGwZLchBqq3GQIcgR7LbRLmGbvNokgmz4mBmVgvD3bl4gg5nsCMsPcIkbwYUECz1Bzc4Q1BAWtqjY6cHI-I0Xdpqgz8b9mlccmrQiAczR1hck87bOJwNUs8zLKcfD3suFLK17WKPl90SD1V2aYGxjUonY-IdMWiFcRSB-YaDsZliSM-aiXylwQ3MLkmCLlc15JevGy25Ur3SM4ZGSSnwZTWBinxpgGE79WUxcHpIzBBMZZWG3sduVjLri_xyKK8NcUvmFbQcSIsHjiFHzB9H3nW8qIJZbhuL032uInbdidko8qe5xcbo3R1go_pa2DXlw&code=9c80a04546de11e8838b00163e0ce107

after this call,

I get "We were unable to link testSmartHomeSkill at this time."

the url:

https://skills-store.amazon.com/external/link-result?success=false&languageCode=en_US&skillId=amzn1.ask.skill.ff9435a6-7c2b-4f1a-a70c-70c77bd680e6&skillStage=development

I have monitor the network and I can't find the alexa service call my Access Token URI:

https://alexa.topqizhi.com/token

to access token

Have I done something wrong with the configuration?

Please tell me what should I do ?

Many Many Thanks

alexa skills kitalexa smart homeaccount linkingaccount informationalexa skills challenge
10 |5000

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

KAIYIN@AMAZON.COM avatar image
KAIYIN@AMAZON.COM answered

Hi, it looks like it's resolved from our contact us case: caseId=5053346541. Do you have more questions regarding account linking?

2 comments
10 |5000

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

I am having this exact issue. I have raised case id= 5246946011. Please let me know what was the resolution

0 Likes 0 ·
KAIYIN@AMAZON.COM avatar image KAIYIN@AMAZON.COM newuser-3c9dac48-1fa5-466b-9e97-1f22c8074c37 ·

Thanks! Our team will answer your question from there.

0 Likes 0 ·
newuser-5bc00dc8-49e9-465b-8faa-2d1fa6803e85 avatar image
newuser-5bc00dc8-49e9-465b-8faa-2d1fa6803e85 answered

I also have this problem. How can I solve it?

1 comment
10 |5000

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

As this issue is specific to your account, please file a contact us here where we will be able to assist further.

-3 Likes -3 ·