question

newuser-50f1eb89-813f-4644-9cfe-a04ae291cb85 avatar image

Trouble with rendering APL document

Currently, I am trying to implement in my skill the Alexa Presentation Language. But the response is not accepted by Alexa and I don't know what is wrong with my JSON response. I build the response manually in PHP.


Response: https://pastebin.com/ckUS32VP

responseaplalexa presentation language
10 |3000 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.

Andy Whitworth avatar image
Andy Whitworth answered

The directives property should be an array according to the Amazon documentation but you have an object. Try fixing that, hopefully that should work.

10 |3000 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.

Andy Whitworth avatar image
Andy Whitworth answered

Your APL document is good, works in the APL simulator.

Presumably you have enabled the APL interface for your skill ?

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

I have already enabled the interface but I only get this error message when I run my skill.


0 Likes 0 ·