question

newuser-03f5fa43-13c3-45ea-a62f-372f1fa578c4 avatar image

Not getting slot.resolutions through manual JSON in the console

I'm trying to test CanFulfillIntentRequest capabilities, but although my skill fulfills intents in the console, I dont get the slot.resolutions.resolutionsPerAuthority fields. Have tried through the ask invoke-skill as well as manual JSON. Is my skill implemented incorrectly? Why wouldn't I be getting these fields back even though I can fulfill the slot?


    "dialog": {
      "delegationStrategy": "ALWAYS",
      "intents": [
        {
          "name": "PlayFrequency",
          "confirmationRequired": false,
          "delegationStrategy": "ALWAYS",
          "slots": [
            {
              "name": "Frequency",
              "type": "FREQUENCIES",
              "confirmationRequired": false,
              "elicitationRequired": false,
              "prompts": {}
            }
          ]
        }
      ]
    }
  "request": {
    "type": "CanFulfillIntentRequest",
    "requestId": "EdwRequestId.123",
    "intent": {
      "name": "PlayFrequency",
      "slots": {
        "Frequency": {
          "name": "Frequency",
          "value": "alpha"
        }
      }
    },
ask clisdk v2canfulfillintentrequest
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

Jason@Amazon avatar image
Jason@Amazon answered

This is expected behaviour - the slot values through CanFullIntentRequest will come back through the "slots" object:

https://developer.amazon.com/en-US/docs/alexa/custom-skills/understand-name-free-interaction-for-custom-skills.html#implement-canfulfillintent

10 |5000

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