Send PlaybackNearlyFinished for short tracks, or allow responses to other
I have been asked to post bug reports here, so:
There is a long-term issue (at least since May 2018) with PlaybackNearlyFinished not firing for shorter tracks.
It has affected many developers, for example here: https://github.com/alexa/skill-sample-nodejs-audio-player/issues/104
and here
https://forums.developer.amazon.com/questions/178909/about-alexa-audio-error-on-skills.html
From my testing, sometimes it triggers on tracks around 15 seconds, sometimes it doesn't even trigger on tracks 30 seconds long.
The problem is that the only AudioPlayerEvent you can respond to with an ENQUEUE event is PlaybackNearlyFinished.
If this "short track bug" cannot be fixed, then at least if developers were allowed to ENQUEUE in response to other events (eg: playbackFinished) then at least we could put some extra logic in there and keep the playlist going.
Thanks for voting on this!

-
Krögoor Entertainment commented
The error is also caused sometimes when the files are sent one by one (When https tracks are played directly).
-
Jonathan H commented
EDIT: I would guess that many developers use the "wrap http-only audio in an https playlist" workaround. It's actually this that triggers the bug - when audio plays from a playlist, the playbackNearlyFinished doesn't work reliably. When https tracks are played directly, it seems to work fine.