alexa-samples / skill-sample-python-fact

An Alexa Skill Sample showing how to build a fact skill in Python.
Other
120 stars 154 forks source link

Documentation Update #44

Closed srajaw closed 1 year ago

srajaw commented 2 years ago

Please update the document that this sample will only work in N. Virginia region and not in other region

aszk commented 1 year ago

Could you give me more details of the issue such as error message you received?

srajaw commented 1 year ago

@aszk Adding the error below. Also the sample is for python 3.6. It would be best if we can upgrade to the latest because 3.6 is deprecated. Resource handler returned message: "User: arn:aws:sts::XXXXXXXXXXXX:assumed-role/Admin/abcd is not authorized to perform: lambda:GetLayerVersion on resource: arn:aws:lambda:us-east-1:173334852312:layer:ask-sdk-for-python-36:1 because no resource-based policy allows the lambda:GetLayerVersion action (Service: Lambda, Status Code: 403, Request ID: dc2e4bd5-b71a-4aeb-a98c-59bf71687c76)" (RequestToken: 2f386c1c-b56a-70c1-1143-2da8dae940fc, HandlerErrorCode: AccessDenied)

aszk commented 1 year ago

@srajaw Thank you for your quick response. I'd like to make sure that you are using AWS Lamda not alexa-hosted.(We have removed AWS instruction) If so, please try to use Alexa-hosted. I also want to know how you deployed the code. Did you use some template from serverless app?

aszk commented 1 year ago

@srajaw We have updated the repository. I hope this solved your issue. Please let me know if your issue still persists.

aszk commented 1 year ago

Closing due to inactivity.