Giter VIP home page Giter VIP logo

skill-sample-nodejs-task-buddy's People

Contributors

amazon-auto avatar chandlerjwang avatar jaimerodriguez avatar jbnunn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jbnunn

skill-sample-nodejs-task-buddy's Issues

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

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

skill.json apis endpoint uri

In attempting to deploy the skill I get an error that the uri in skill.json endpoint does not match the regex for its definition. I change it to meet the regex and I get that the trigger setting is invalid. Is that entry referring to a function that has been created outside of the skill definition? What am I missing?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.