Skip to content

Task Buddy example not working with latest ASK-CLI (2.26.0) #6

@marcjones-io

Description

@marcjones-io

Made it to step 4 in the README and ran ask deploy with the latest version of the ASK-CLI (2.26.0 at the time of this writing). Instead of the sample skill deploying the ASK-CLI returned the following error:

[Error]: {
  "skill": {
    "resources": [
      {
        "action": "CREATE",
        "errors": [
          {
            "message": "Resource with identifier \"https://aplsnippets.s3.amazonaws.com/assets/images/en-US_largeIcon.png\", at property path \"$.manifest.publishingInformation.locales.en-US.largeIconUri\", was not found."
          },
          {
            "message": "Resource with identifier \"https://aplsnippets.s3.amazonaws.com/assets/images/en-US_smallIcon.png\", at property path \"$.manifest.publishingInformation.locales.en-US.smallIconUri\", was not found."
          },
          {
            "message": "Security profile or some of declared permissions are not valid"
          }
        ],
        "name": "Manifest",
        "status": "FAILED"
      }
    ]
  },
  "status": "FAILED",
  "warnings": [
    {
      "message": "The imported package contains 1 number of file(s) at invalid or access listed paths. Such files, under the following directories, were not processed: [interactionModels]"
    }
  ]
}

Recognizing that they are ultimately irrelevant for the skill, I removed references in the skill manifest to the assets ASK-CLI was complaining about:

{
  "manifest": {
    "publishingInformation": {
      "locales": {
        "en-US": {
         .
         .
          "smallIconUri": "https://aplsnippets.s3.amazonaws.com/assets/images/en-US_smallIcon.png",
          "largeIconUri": "https://aplsnippets.s3.amazonaws.com/assets/images/en-US_largeIcon.png",
         .
         .

After which ASK-CLI threw out a new error related to permissioning:

[Error]: {
  "skill": {
    "resources": [
      {
        "action": "CREATE",
        "errors": [
          {
            "message": "Security profile or some of declared permissions are not valid"
          }
        ],
        "name": "Manifest",
        "status": "FAILED"
      }
    ]
  },
  "status": "FAILED",
  "warnings": [
    {
      "message": "The imported package contains 1 number of file(s) at invalid or access listed paths. Such files, under the following directories, were not processed: [interactionModels]"
    }
  ]
}

My questions:

  • What version of the CLI was used with the example provided in this repo?
  • Can you all replicate these issues using the ASK-CLI v2.26.0?
  • If not what steps should I take to remedy the issue?
  • Where can I reference docs related to these errors? It would be helpful to have clearer understanding to ASK-CLI related errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions