core: Cannot perform account link in Alexa app with proactive Events

The problem

About 2 days ago, devices intermittently stopped working in my Alexa custom skill integration. I figured the best thing to do was disable and then re-enable the skill. However, since I disabled the skill, I have been unable to get past the Account Linking setup. Nothing about my configuration in HA has changed, other than updating to newer versions. Below is a screenshot of the error I see in the Alexa app.

I do not see any logs popping up when this error happens, but I did include a log I noticed that might be from the Alexa intent skill I have hooked up. I have also not been able to relink this skill after disabling. Additionally, I have been able to successfully test the Lambda function using the long-lived access token - so it sort of seems like this could be an issue with auth itself, and perhaps not specifically Alexa?

EC8A0083-C86E-40F5-AF8E-1FB86305D98E

What version of Home Assistant Core has the issue?

core-2023.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Alexa

Link to integration documentation on our website

https://www.home-assistant.io/integrations/alexa.smart_home/#account-linking

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.alexa.auth
Source: components/alexa/auth.py:90
Integration: Amazon Alexa (documentation, issues)
First occurred: 7:02:00 AM (3 occurrences)
Last logged: 7:02:14 AM

Error calling LWA to get auth token

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 40 (18 by maintainers)

Most upvoted comments

Can you open a new issue in homeassistant.io if you have suggestions for the documenation or open a new PR? Then I can close this issue, as it cause seems to be outside Home Assistant. Thnx for checking this out and for sharing!