Announcement: The Alexa Skills Community Is Moving To Stack Overflow

For improved usability and experience, Alexa skills related forum support will be transitioned to Stack Overflow. Effective January 10, 2024, the Amazon Developer Forums will no longer be available. For continued Alexa skills support you can reach out to us on Stack Overflow or via Contact Us.

question

Kailash Panwar avatar image
Kailash Panwar asked

Suddenly seeing a surge in "UnhandledSkillException" from last 3-4 days

Hi,
I have made a skill called as "Personal Affirmations" , it plays audio and text content for the users, it's live for 2-3 years, I just checked the logs and I see there is a surge in in "UnhandledSkillException" from last 3-4 days, most probably it's during audio playback. Earlier I have never seen so much of this exception. Is anything changed recently?

I can't see which which event is not handled in the exception message, below is one of the message from logs :-


Unhandled exception: com.amazon.ask.exception.UnhandledSkillException
com.amazon.ask.exception.UnhandledSkillException: Unhandled exception
at com.amazon.ask.dispatcher.impl.DefaultRequestDispatcher.dispatch(DefaultRequestDispatcher.java:76)
at com.amazon.ask.Skill.invoke(Skill.java:87)
at com.amazon.ask.Skill.invoke(Skill.java:62)
at com.amazon.ask.SkillStreamHandler.handleRequest(SkillStreamHandler.java:67)
Caused by: com.amazon.ask.exception.AskSdkException: [amzn1.echo-api.request.3c0c3d7e-a56f-4c2f-afe2-d0219c51532e] Unable to find a suitable request handler
at com.amazon.ask.dispatcher.impl.DefaultRequestDispatcher.doDispatch(DefaultRequestDispatcher.java:98)
at com.amazon.ask.dispatcher.impl.DefaultRequestDispatcher.dispatch(DefaultRequestDispatcher.java:68)
... 3 more


Anything changed recently?




alexa skillsask sdkask-sdk
2 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Kailash Panwar avatar image Kailash Panwar commented ·

@KirkC@Amazon , @cheryl@Amazon , is it possible for you to help me here? Thanks

0 Likes 0 ·
Kailash Panwar avatar image Kailash Panwar commented ·

I see it's fine now from yesterday, before yesterday it was quite more for 3-4 days, not sure if anything is changed with respect to AudioPlayerInterface. Thanks

@KirkC@Amazon , @cheryl@Amazon

0 Likes 0 ·

1 Answer

Andy Whitworth avatar image
Andy Whitworth answered

It may be an error report being sent in the event of a playback error. You should add a RequestHandler which logs out each request coming into the skill, you can then pinpoint what requests are causing the issue. The reason you're getting that particular error is that your skill code does not have a handler for the particular request being processed.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.