Jones avatar image
Jones asked

ISP through APL "No Content"

Hi, I'm trying to start ISP when a user selects an unowned item through APL but I'm only getting "No Content" from Alexa. It works fine if I use voice to select it though. I checked through the logs that "result.productId" is correct. Any thoughts on how to fix it?

//Purchase skill if not owned            
            console.log('Item not owned!');
            return handlerInput.responseBuilder
                    type: 'Connections.SendRequest',
                    name: 'Buy',
                    payload: {
                        InSkillProduct: {
                            productId: result.productId
                    token: JSON.stringify(sessionAttributes)
10 |5000

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

0 Answers