Jeffrey Chase Roth avatar image
Jeffrey Chase Roth asked

Alexa Skills won’t take my Lambda Function as an EndPoint

  • String instance with value "arn:aws:lambda:us-east-2:<ACCOUNTNUMBER>:function:myHomeAssistantFunction" at property path "$.manifest.apis.smartHome.regions.NA.endpoint.uri" does not match the regular expression: "arn:aws:lambda:us-east-1:[0-9]{12}:function:[a-zA-Z0-9-_]+(/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12})?(:[a-zA-Z0-9-_]+)?".
  • The Lambda ARN arn:aws:lambda:us-east-2:<ACCOUNTNUMBER>:function:myHomeAssistantFunction is not valid for any of the supported regions.

Basically same as this:

Following this:

My test from the function directly connects when using the long lived access token and debug. So communication works, but I can add the function ARN to my skill.

alexa skills kitskillalexaalexa smart homesmart-home
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.

Jeffrey Chase Roth avatar image Jeffrey Chase Roth commented ·

I found that "arn:aws:lambda:us-east-2" == US East (Ohio) and I needed to be using the "arn:aws:lambda:us-east-1" == US East (N. Virginia). Changed the location in the upper right and had to recreate function and trigger and now it works!

0 Likes 0 ·

0 Answers