Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marcjones-io opened this issue Mar 14, 2022 · 0 comments
Open

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

marcjones-io opened this issue Mar 14, 2022 · 0 comments

Comments

@marcjones-io
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant