Stack Overflow: A New Way for Developers to Get Support for Alexa

Now you can find Alexa-specific tags and topics in the AWS Collective on Stack Overflow. Ask questions and get help from badged experts and the Alexa developer community!

question

Rish avatar image
Rish asked

Unable to link to Wunderlist at this time

So this is my first time writing an Alexa skill that involves account linking. I am trying to build a skill that allows a user to add tasks to Wunderlist.

Skill ID: amzn1.ask.skill.50359983-47ab-4141-881f-9efbe534fc83

Authorization URI: https://www.wunderlist.com/oauth/authorize

Token URI: https://www.wunderlist.com/oauth/access_token

I have obtained Client ID and Client Secret from the Wunderlist developer page. Lambda function was written in NodeJS and is on AWS Lambda.

When I try to invoke my skill, I get the Link Account card. Clicking on the link here takes me to the Wunderlist login page, where I enter my email address and password. However, after this I get the error saying: 'We were unable to link Wunderlist at this time'.

URL of this page: https://skills-store.amazon.com/external/link-result?success=false&languageCode=en_US&skillId=amzn1.ask.skill.50359983-47ab-4141-881f-9efbe534fc83&skillStage=development

Any thoughts on what the issue could be and how I would go about fixing it? I have spent a fair amount of time looking at the documentation and trying to find other guides to help me set this up, but to no avail.

Thanks a lot!

alexa skills kitaccount linking
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.

jenson avatar image jenson commented ·

Seem to be the same issue as mentioned here:

https://forums.developer.amazon.com/questions/98450/we-were-unable-to-link-your-skill-at-this-time.html

No solution so far.

Additional note since I ran into that during certification. You need a "landing page" if you are linking to any service that is not owned by you.

0 Likes 0 ·
Brian@Amazon avatar image
Brian@Amazon answered

Account linking issues can have a variety of root causes, and there are many things which can cause this error message.

Up front I'd suggest looking at our account linking debug guide. If that doesn't resolve your issue (or you've already seen it) follow the instructions at the bottom of the guide to provide us details that will let us take a look.

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.

Rish avatar image Rish commented ·

Details are below:

Skill ID: amzn1.ask.skill.50359983-47ab-4141-881f-9efbe534fc83

Regions: NA (N. Virginia)

Device/Platform Type: Browser

Alexa App version: 1.24.200982.0

Issue: Unable to link to Wunderlist page

Time and date: 16:32 PDT, 4/10/2018

Account linking test credentials: Email: testaccount@email.com, Password: $123Test

Authorization URL: https://www.wunderlist.com/oauth/authorize

Whitelisted Domains: a.wunderlist.com, wunderlist.com

Account Linking Type: Auth Code

Thanks!

0 Likes 0 ·
Rish avatar image
Rish answered

@Brian@Amazon The details mentioned at the end of the link you suggested are in the comment to your reply.

I tried running the Chrome debugger, and got the following requests:

On submitting login information:

https://www.wunderlist.com/oauth/authorize?client_id=3e0c7482677f01cce351&response_type=code&state=A2SAAEAEDLwhlurrbdvi_3DRnn_VekBsFOSs5m0bqpt87Y09lPPZOi_7z0xtJVKEInSEjrMU74CJiVGcwpzZHeUTnwYH4zgMoLh_MfCi-plUCX-RhJp-pjR7a6XZXTxI5FpjfQNcLEl4Q7Qv4aGFSuqbzvQkn8l2NmBORrKQLmXUArGrAGEwKXS7w86FK0_aC0JbBLW70GWevWdNvIFeZR4iOx9woytsmK3GO-3Otcw04kzvMk2tPDMPIglehmJEkScBpMHXKEhG9AoE0_yb1xR0aGn0z4PtXLgD8NqTuoDOBImm57c317OqFpwVd4uX9QxtzJa0rUegMPA0WZxCDVnRCXtfk3W35PZN_GFP25mC-JcZdFXbT3fGHHDh3udvBRlaEbOIERkMnPHC7j9ZnKHyQEvSkFH7k4-MdcTTzG9A-6V30pVXSHvHxKaT8J1bWq7gENai1BobYSvXgY-9UbnUnbXwipkxxwUOwhwXr9Xb63X6-aMnAzOZNcWVXPa_Sydh1cZQuqQNjewfgW2AnkO1cl48tvJV05uQmSc-bKcx0W9DqXnzT6VqcYCdOsbEUxUNy8IbUCMLTpDgS9lvYtg0x2fo0_V4A&redirect_uri=https://pitangui.amazon.com/api/skill/link/M373JPOXGD25

Redirect URL with state and code:

https://pitangui.amazon.com/api/skill/link/M373JPOXGD254Y?state=A2SAAEAEDLwhlurrbdvi_3DRnn_VekBsFOSs5m0bqpt87Y09lPPZOi_7z0xtJVKEInSEjrMU74CJiVGcwpzZHeUTnwYH4zgMoLh_MfCi-plUCX-RhJp-pjR7a6XZXTxI5FpjfQNcLEl4Q7Qv4aGFSuqbzvQkn8l2NmBORrKQLmXUArGrAGEwKXS7w86FK0_aC0JbBLW70GWevWdNvIFeZR4iOx9woytsmK3GO-3Otcw04kzvMk2tPDMPIglehmJEkScBpMHXKEhG9AoE0_yb1xR0aGn0z4PtXLgD8NqTuoDOBImm57c317OqFpwVd4uX9QxtzJa0rUegMPA0WZxCDVnRCXtfk3W35PZN_GFP25mC-JcZdFXbT3fGHHDh3udvBRlaEbOIERkMnPHC7j9ZnKHyQEvSkFH7k4-MdcTTzG9A-6V30pVXSHvHxKaT8J1bWq7gENai1BobYSvXgY-9UbnUnbXwipkxxwUOwhwXr9Xb63X6-aMnAzOZNcWVXPa_Sydh1cZQuqQNjewfgW2AnkO1cl48tvJV05uQmSc-bKcx0W9DqXnzT6VqcYCdOsbEUxUNy8IbUCMLTpDgS9lvYtg0x2fo0_V4A&code=64514e90a7e556864b9c

After authorizing:

https://skills-store.amazon.com/api/skill/link/M373JPOXGD254Y?code=64514e90a7e556864b9c&state=A2SAAEAEDLwhlurrbdvi_3DRnn_VekBsFOSs5m0bqpt87Y09lPPZOi_7z0xtJVKEInSEjrMU74CJiVGcwpzZHeUTnwYH4zgMoLh_MfCi-plUCX-RhJp-pjR7a6XZXTxI5FpjfQNcLEl4Q7Qv4aGFSuqbzvQkn8l2NmBORrKQLmXUArGrAGEwKXS7w86FK0_aC0JbBLW70GWevWdNvIFeZR4iOx9woytsmK3GO-3Otcw04kzvMk2tPDMPIglehmJEkScBpMHXKEhG9AoE0_yb1xR0aGn0z4PtXLgD8NqTuoDOBImm57c317OqFpwVd4uX9QxtzJa0rUegMPA0WZxCDVnRCXtfk3W35PZN_GFP25mC-JcZdFXbT3fGHHDh3udvBRlaEbOIERkMnPHC7j9ZnKHyQEvSkFH7k4-MdcTTzG9A-6V30pVXSHvHxKaT8J1bWq7gENai1BobYSvXgY-9UbnUnbXwipkxxwUOwhwXr9Xb63X6-aMnAzOZNcWVXPa_Sydh1cZQuqQNjewfgW2AnkO1cl48tvJV05uQmSc-bKcx0W9DqXnzT6VqcYCdOsbEUxUNy8IbUCMLTpDgS9lvYtg0x2fo0_V4A

It looks like the Auth Code hasn't been generated. A POST request needs to be submitted to the Token URI using the client ID, client secret and code parameters. How would I go about fixing this?

10 |5000

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

Rish avatar image
Rish answered

Any thoughts? I have submitted a 'Contact Us' case (Case# 4996803061) just a little while ago.

10 |5000

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

Brian@Amazon avatar image
Brian@Amazon answered

I'm looking at the contact us case. I'll get back on the case for your specific issue. Once we've resolved it i'll post back the root cause here.

10 |5000

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

Rish avatar image
Rish answered

Sounds good. Thanks @Brian@Amazon! :)

10 |5000

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