question

VidyaPrakash Rajan avatar image
VidyaPrakash Rajan asked ·

The skill's response exceeded the maximum response size of 1080000 bytes

I have been using 1 audio element in SSML tag and retrieving audio file from S3 bucket and trying to play it. The audio file meets all the requirements for audio element in SSML as per amazon recommendation. But the response is killed by the following error

Exceeded max response size

The skill's response exceeded the maximum response size of 1080000 bytes

How do we find the response size of an audio file.

the audio file size is 1 mb which i am trying to play.

Thanks in advance

alexa skills kitlambdaaudioresponsessml
10 |2000 characters needed characters left characters exceeded

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

1 Answer

Brian@Amazon avatar image
Brian@Amazon answered ·

This may have to do with the size of your json object in the response, not the size of the audio file. What json are you returning?

10 |2000 characters needed characters left characters exceeded

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