DEV Community

Christopher Kocel
Christopher Kocel

Posted on

Curse Words Heisenbug in Alexa

Recently Skill I was working on got rejected from certification by Amazon - the reason was that the content was not played properly.

I started to dig deeper and checked some random content files, all were played just fine. Then I found one problematic file.

At first, I thought that it might be related to ID3 tags embedded in the mp3 file. I knew that Alexa Audio Player does not work with mp3 files containing custom tags.
I ran eyeD3 with --remove-all option and tried again,
unfortunately, it didn't work.

I hosted the file locally on my machine and made it public using ngrok. Then when I looked into ngrok logs I couldn't believe my eyes:

Alexa alters file names containing curse words

It turned out that Alexa device is censoring all content going to the device from skill, even if it's a file name! After removing swear words playback worked like a charm.

Did you found any mind-boggling Alexa bugs? Share them in the comment :)

Top comments (0)