I've setup a new skill following this example skill for the canFulfillIntentRequest.
https://github.com/PaulCutsinger/Sample-For-Can-Fulfill-Intent-Request
I have enabled the required interface.
I'm using beta version of the SDK.
I've tested the skill using both the developer portal and the CLI tool.
I'm exposing the endpoint url using the Bespoken proxy so I can verify with the debugger.
I observed the following in my console output on my local machine.
The filled slots: {"voiceExpert":{"name":"voiceExpert","value":"Anna","resolutions":{"resolutionsPerAuthority":[{"authority":"amzn1.er-authority.echo-sdk.amzn1.ask.skill.54841bf0-1e88-4319-9dc7-ecbda6a98945.VOICE_EXPERTS","status":{"code":"ER_SUCCESS_MATCH"},"values":[{"value":{"name":"Anna Van Brookhoven","id":"dad826f08868120aa6e5e75a371e9b25"}}]}]},"confirmationStatus":"NONE"}} in CFIR AboutIntentHandler {"voiceExpert":{"synonym":"Anna","value":"Anna Van Brookhoven","id":"dad826f08868120aa6e5e75a371e9b25","isValidated":true}} in CFIR AboutIntentHandler YES INFO 2018-08-20T15:31:58.385Z ResponseReceived ID: 1534779117443 VERB 2018-08-20T15:31:58.385Z Payload: { "version": "1.0", "response": { "canFulfillIntent": { "canFulfill": "YES", "slots": { "voiceExpert": { "canUnderstand": "YES", "canFulfill": "YES" } } } }, "userAgent": "ask-node/2.1.0-beta.4 Node/v10.2.1", "sessionAttributes": {} }
Using the developer portal I observed that the skill returned the following.
{ "status": "SUCCESSFUL", "result": { "skillExecutionInfo": { "invocationRequest": { "endpoint": "https://famous-wells-6Qpw1n.bespoken.link", "body": { "version": "1.0", "session": { "new": false, "sessionId": "amzn1.echo-api.session.afef329c-5682-4623-bb36-1f65d04e69cb", "application": { "applicationId": "amzn1.ask.skill.54841bf0-1e88-4319-9dc7-ecbda6a98945" }, "user": { "userId": "amzn1.ask.account.AHMR5XME5BU4NI2FGVDLQKFVHFPXQE5DO4KYPYCCVHIXNW3OMQVOUWOECN6NBVC6BCGA76UII57AUPXAIDLDK77LCJ6H4L7KXNE6X54RCNVDAKNYOCBTRSEG2HB43X2PRFNGVZSUB66QFXPILSIMJL2I242LTZPIRMJ62FNLCLTO4SAZJ73VCT6GDC7RWFMC3NNTTGG2ALHF4PQ" } }, "context": { "System": { "application": { "applicationId": "amzn1.ask.skill.54841bf0-1e88-4319-9dc7-ecbda6a98945" }, "user": { "userId": "amzn1.ask.account.AHMR5XME5BU4N..." }, "device": { "deviceId": "amzn1.ask.device.AHXFF...", "supportedInterfaces": {} }, "apiEndpoint": "https://api.eu.amazonalexa.com", "apiAccessToken": "eyJ0e..." } }, "request": { "type": "CanFulfillIntentRequest", "requestId": "amzn1.echo-api.request.0bf154b3-c43c-4776-825c-27425c12522f", "timestamp": "2018-08-20T15:22:29Z", "locale": "en-US", "intent": { "name": "aboutIntent", "confirmationStatus": "NONE", "slots": { "voiceExpert": { "name": "voiceExpert", "value": "Anna", "resolutions": { "resolutionsPerAuthority": [ { "authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.54841bf0-1e88-4319-9dc7-ecbda6a98945.VOICE_EXPERTS", "status": { "code": "ER_SUCCESS_MATCH" }, "values": [ { "value": { "name": "Anna Van Brookhoven", "id": "dad826f08868120aa6e5e75a371e9b25" } } ] } ] }, "confirmationStatus": "NONE" } } } } } }, "invocationResponse": null, "metrics": null }, "error": { "message": "Skill endpoint returned an invalid response." } } }