Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

328
Visualizações
Why does my SSML not work on Alexa Devices?

I am making an extremely simple skill to test out Alexa's SSML capabilities. For simplicity's sake I am building the whole thing in Alexa's online Developer Portal. Here is the LaunchRequest I have in my index.js:

const LaunchRequestHandler = {
    canHandle(handlerInput) {
        return Alexa.getRequestType(handlerInput.requestEnvelope) === 'LaunchRequest';
    },
    handle(handlerInput) {    
       var speechOutput = '<prosody pitch="low">Hello.</prosody>';
        return handlerInput.responseBuilder
            .speak(speechOutput)
            .reprompt(speechOutput)
            .getResponse();
    }
};

When I go to the Test Page of the Developer Console and run my skill it performs exactly as it should, with Alexa saying "Hello" in a low voice. But when I try to launch the same skill from any of my Echo devices she tells me "Sorry, I'm having trouble. Please try it in a little while."

I have other skills that don't use SSML and they work just fine on all my devices, so what's going on in this case?

about 4 years ago · Juan Pablo Isaza
2 Respostas
Responde à pergunta

0

When Alexa responds with "Sorry, I'm having trouble. Please try it in a little while." it usually means it's not even getting to the skill for one of multiple reasons, it's therefore unlikely to be related to SSML.

This often is a problem with internet or the device acting up (try checking for updates), restarting it usually solves this issue for me.

Are you logged in with the same developer account on your devices as the one you created the skill on?

If not, the devices won't be able to see your skill (as it's not live yet) when you call it from a different account. Another option is to add your echo device's account as a beta tester on your developer account under distribution.

Another reason could be that Alexa is not understanding what you're saying (either pronunciation issue or ambiguous skill name).

To check what Alexa is hearing when you speak, you can view your utterance history, listen to what you said and read how Alexa interpreted it and the action taken.

You can view that here (change .com to whatever you're using): https://alexa.amazon.com/spa/index.html#settings/dialogs

about 4 years ago · Juan Pablo Isaza Relatório

0

This behavior work well on my devices.
What I did >

  1. Create a new custom Alexa Skill Hosted (local en-US)
  2. Set the invocation name to : "test one"
  3. Update the speak output from
const speakOutput = 'Welcome, you can say Hello or Help. Which would you like to try?';

to:

const speakOutput = '<prosody pitch="low">Welcome, you can say Hello or Help. Which would you like to try?</prosody>';

Then I tested on the developer console: OK.
Then I tested on Echo Dot 4: OK

Now you need to debug what is wrong:

  • Go to the log on cloudwatch (if it is not on the default region, try the other one)

enter image description here

  • Then go inside your latest log

enter image description here

You should be able to see what went wrong here.

If not, provide detail about your skill (local, logs, ...) & which device you've used to test.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda