Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Building skill schema failed" error while deploying alexa skill using ask-cli

I have a alexa skill live on amazon skill store. The interaction model of that skill was developed using the skill builder of alexa development portal and the lambda function was uploaded seperately. The skill is live and has many users.

Recently I felt the need of making some changes to that skill. Since now I am using ask-cli for all my alexa skill development, I decided to use the same for this skill too.

Here are the steps I followed:

  • cloned the skill from the alexa console using command ask clone and selecting the skill I wanted to make changes in.

  • made the required changes in the skill. Just changed a response, nothing special.

  • tried deploying the skill again to alexa console using ask deploy command

But I got the following error:

[Error]: Building skill schema failed

I thought that the changes I made might be the cause of it, so I backtracked the changes and made the code as it was when cloned. Then I tried deployig the code again but the error remained the same.

I went through some answers on amazon portal, the most common cause of the issue for others there was some mistake in URI of skill icon URIs. To be sure, I also removed that line from skill.json and tried deploying it again but nothing changed.

Does anyone has any idea of the cause of the above mentioned issue?

like image 542
Akhilesh Awasthi Avatar asked Nov 08 '22 06:11

Akhilesh Awasthi


1 Answers

Make sure your lambda function has Alexa Skills Kit as trigger. I solved my problem by adding back the trigger (and entering the skill ID).

like image 113
Carson Ip Avatar answered Nov 22 '22 10:11

Carson Ip