question

Jos�� Ignacio Constenla avatar image
Jos�� Ignacio Constenla asked

Can't get access token on AVS using the example code

Hi, I've followed the implementation for the node server and the java client posted in here: https://developer.amazon.com/public/solutions/alexa/alexa-voice-service/docs/reference-implementation-guide But I couldn't get the access token. I'm getting this message when accessing: https:// /device/register/ .: Ha surgido un error al intentar procesar tu petición. Ten por sentado que hacemos lo posible por solucionar el problema lo antes posible. I've even tried it to make it manually by: getting the regcode and deviceSecret from this url: https:// /device/regcode/ / . Then https:// /device/register/ And I getting the same message than before with this url: https://www.amazon.com/ap/oa?client_id= &response_type=code&redirect_uri=https:// /authresponse&scope=alexa%3Aall&state= &scope_data=%7B%22alexa%3Aall%22%3A%7B%22productID%22%3A%22 %22%2C%22productInstanceAttributes%22%3A%7B%22deviceSerialNumber%22%3A%22 %22%7D%7D%7D Also found this message in the html of te response: Googling about this error I've found that there is a way to whitelist security on: https://developer.amazon.com/cd/sp/overview.html > Apps & Servcices > Cloud drive. So I did, and receive an email with the following subject: Your application profiledev is whitelisted! I tried it again with no luck. What am I doing wrong? Thanks in advance! Nacho
alexa voice service
10 |5000

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

1 Answer

Jos�� Ignacio Constenla avatar image
Jos�� Ignacio Constenla answered
Solved: For the sample posted this url should be in the Allowed Return URLs field on the web settings for the Security Profile https:// /authresponse And the security profile should be allowed in https://developer.amazon.com/lwa/sp/overview.html > Apps & Services > Log in with amazon section Nacho
10 |5000

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