nerdexam
Amazon

AXS-C01 · Question #38

An Alexa Skill Builder is developing a skill using AWS Lambda. When invoking the skill, Amazon Alexa responds "There was a problem with the requested skill's response." The following message is…

The correct answer is B. Add an .addErrorHandlers(<function>) attribute to the SkillBuilder object and define. https://forums.developer.amazon.com/questions/201658/input-request-reason-error-type-invalid-

Skill Development

Question

An Alexa Skill Builder is developing a skill using AWS Lambda. When invoking the skill, Amazon Alexa responds “There was a problem with the requested skill’s response.” The following message is displayed in Amazon CloudWatch Logs for the Lambda function. Which of the following actions will resolve the problem?

Exhibit

AXS-C01 question #38 exhibit

Options

  • ADefine a new intent named Unhandled in the skill interaction model and add an Unhandled
  • BAdd an .addErrorHandlers(<function>) attribute to the SkillBuilder object and define
  • CAdd an intent handler for the SessionEndedRequest intent to the Lambda function to display
  • DAdd additional logic to the AMAZON.StopIntent handler in the Lambda function to display

How the community answered

(45 responses)
  • A
    9% (4)
  • B
    82% (37)
  • C
    7% (3)
  • D
    2% (1)

Explanation

https://forums.developer.amazon.com/questions/201658/input-request-reason-error-type-invalid-

Topics

#error handling#AWS Lambda#ASK SDK#addErrorHandlers

Community Discussion

No community discussion yet for this question.

Full AXS-C01 Practice