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

Skill Build Fails whenever Skill.json include an RENDER_TEMPLATE Interface Type #76

Closed
tuwallace opened this issue Dec 17, 2020 · 4 comments
Labels

Comments

@tuwallace
Copy link

When you add an Interfaces type of RENDER_TEMPLATE to your skill.json, commit the changes to the file, then deploy skill, the build fails. I've tried setting and saving the display option in interfaces for my skill in the Alexa Developer Console, using the Skill manifest to download the revised manifest, but I get the same result.

To Reproduce

  • open VS Code with the Ask toolkit for VS Code
  • Create a skill
  • Edit the skill.json and add RENDER_TEMPLATE as interfaces type
  • Commit your changes and deploy the skill
  • You will see a Skill Build failed in the notification panel
@tuwallace tuwallace added the bug Something isn't working label Dec 17, 2020
@ShenChen93
Copy link
Contributor

Hi @tuwallace ,

Thanks for posting this issue. I could reproduce this issue with the following skill.json

{
  "manifest": {
    "apis": {
      "custom": {
        "endpoint": {
          "uri": "arn:aws:lambda:us-east-xxx:Release_0"
        },
        "regions": {
          "NA": {
            "endpoint": {
              "uri": "arn:aws:lambda:us-east-xxx:Release_0"
            }
          }
        },
        "interfaces": [
          {
            "minimumTemplateVersion": "1.0",
            "type": "RENDER_TEMPLATE"
          }
        ]
      }
    },
    "publishingInformation": {
      "locales": {
        "en-US": {
          "name": "interfaceTest"
        }
      }
    }
  }
}

I also noticed that when only interface proerty exist without endpoint and regions, the deploy could succeed. But if all those properties exist, the deploy will fail. Since the actual build logic is executed at service side, we would need to reach out to hosted skill team to figure this issue out. I will post update here when we hear back from the service team, please keep tunned :)

Thanks,
Shen

@github-actions
Copy link

github-actions bot commented Jan 2, 2021

This issue is stale since it has been open for 14 days with no activity. Please respond or this issue will be closed soon.

@sattpat
Copy link
Contributor

sattpat commented Jan 2, 2021

Overriding actions. More details can be found here

@ShenChen93
Copy link
Contributor

Hi @tuwallace ,

Sorry for responding late. From the public doc, RENDER_TEMPLATE is now deprecated and and isn't supported on all Alexa devices. Thus I recommend you to switch to use APL as recommended in the doc.

There's a lot of possible issues which will lead to deploy fail. For your case, I guess The root cause is that to enable a render template interface, there are some additional builtIn Intent required in the InteractionModel such as AMAZON.NextIntent. When you enable the render template interface on developer console, you will see a lot Amazon intents are added to your Interaction model. Those Intents are required in your Interaction model when you do the deploy.

I undersand that the current error message from the extension is not helpful, it only tells you the deploy fail without detailed reason. That is becuase there's a some limitation on api side and currently our extension are unable to retrieve detailed error message. This is a known issue and we've already reported to the service side. I am really sorry for the incovenient.

Due to the root cause is from the service side, there's nothing our extension could do to better imporve the user experience at the moment, I will close this issue from the extension side for now. Please feel free to reopen if you have any questions :)

Thanks,
Shen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants