alexa/alexa-apis-for-python

'NoneType' object has no attribute 'system'

Closed this issue · 2 comments

Hi All,
I am getting the following error:

Response:
{
  "errorMessage": "'NoneType' object has no attribute 'system'",
  "errorType": "AttributeError",
  "stackTrace": [
    "  File \"/opt/python/lib/python3.8/site-packages/ask_sdk_core/skill_builder.py\", line 111, in wrapper\n    response_envelope = skill.invoke(\n",
    "  File \"/opt/python/lib/python3.8/site-packages/ask_sdk_core/skill.py\", line 181, in invoke\n    api_token = request_envelope.context.system.api_access_token\n"
  ]
}

Closing this ticket as duplicate for the issue on SDK : alexa/alexa-skills-kit-sdk-for-python#168

I am really sorry I forgot about the template. Nevertheless, it'ss solved so I am sorry for forgetting to close it. @nikhilym