question

newuser-aa193846-4073-47a6-953b-b99daf048d96 avatar image
newuser-aa193846-4073-47a6-953b-b99daf048d96 asked ·

Using AWS s3 Bucket signed URLs

Hey,

i tried to make my skill more secure with signed URLs but everytime I include an and symbol in

<audio src="https://.s3.amazonaws.com/xxx.mp3?&" />

the skill stops working and i get the response that a problem has occured.

How can i circumvent this error?

alexa skills kitskillaws
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.

Anand@Amazon avatar image
Anand@Amazon answered ·

Hello Developer,

Can you try to remove symbols from the S3 url?

Try below S3 url and check again

<audio src = "https://.s3.amazonaws.com/xxx.mp3" />

Check this link for more details.

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.

newuser-67377250-c6a1-4294-b62c-b9be9f2dd0dc avatar image
newuser-67377250-c6a1-4294-b62c-b9be9f2dd0dc answered ·

Any uptades?

1 comment
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.

Hey there,

Yes, you can use pre-signed url for audio stream. You can create your own bucket and create util file which will generate per-signed url which you can use in your backend code.

Note : Remember to extend time out time according to audio length.

0 Likes 0 ·