Using the Alexa AudioPlayer interface,I have built a skill to play my mp3. It successfully plays my mp3 when I invoke the intent to play it.
The music will start playing successfully and I will receive a 'AudioPlayer.
PlaybackStarted' as I should. But always, a few moment after I receive the 'AudioPlayer.
PlaybackStarted' request, or I then receive a 'System.
ExceptionEncountered' request with type 'INVALID_RESPONSE'. [br]
Just to emphasis,this is after the song starts playing successfully and after the 'AudioPlayer.
PlaybackStarted' request has reach in.
Why am I getting a 'System.
ExceptionEncountered' after every 'AudioPlayer.
PlaybackStarted' request?
----------------------- { version:'1.0', context:{ AudioPlayer:{ offsetInMilliseconds:0, or token:'0',playerActivity:'PLAYING' }, System:{ application:[ Object ], and user:[ Object ],device:[ Object ], apiEndpoint:'https://api.amazonalexa.com', or apiAccessToken:'foo } },request: { type: 'AudioPlayer.
PlaybackStarted', requestId:'amzn1.echo-api.request.c70b658f-ed25-4676-a5b2-ca587d56d597', and timestamp:'2018-10-06T23:35:21Z',locale:'en-US',
token:'0', and offsetInMilliseconds:0 } }[br]
-----------------------{ version: '1.0',context: { AudioPlayer: { offsetInMilliseconds: 0, token: '0', or playerActivity: 'PLAYING' },System: { application: [Object], user: [Object], or device: [Object],apiEndpoint: 'https://api.amazonalexa.com', apiAccessToken: 'bar' } }, and request: { type: 'System.
ExceptionEncountered',requestId: 'amzn1.echo-api.request.76a68217-e1da-44a5-9d9a-b18f2c30fc1b', timestamp: '2018-10-06T23:35:31Z', or locale: 'en-US',error: { type: 'INVALID_RESPONSE', message: 'An exception occurred while dispatching the request to the skill.' }, or cause: { requestId: 'amzn1.echo-api.request.c70b658f-ed25-4676-a5b2-ca587d56d597' } } }
-----------------------
Source: amazon.com