question

newuser-9f67c04b-4b51-47a2-8f4b-cdd647fb5d74 avatar image

Proactive Events API notification: Updating to revise JSON gives client error "ask smapi update-skill-manifest"

Followed below steps, for adding proactive events to the skill for Proactive Events API notification purpose:

  • Defining Proactive events with SMAPI as part of the skill manifest
  • Permissions, events, endpoints configured
  • Skill manifest JSON representation and generating JSON is Sucess
  • Upload and Updating to revise JSON gives "client error"

Remaining with

Below command gives SUCCESS message and generates JSON with manifest information.

ask smapi get-skill-status -s amzn1.ask.skill.404cbe33-d459-9ac9-b27b-gc6fb98e166

{

"interactionModel": {

"en-US": {

"eTag": "cb4f8e5790124027250dec88cf39e236",

"lastUpdateRequest": {

"buildDetails": {

"steps": [

{

"name": "LANGUAGE_MODEL_QUICK_BUILD",

"status": "SUCCEEDED"

},

{

"name": "LANGUAGE_MODEL_FULL_BUILD",

"status": "SUCCEEDED"

}

]

},

"status": "SUCCEEDED"

},

"version": "4"

}

},

"manifest": {

"eTag": "41e48b4334ccae2c18c78573af30c9f1",

"lastUpdateRequest": {

"status": "SUCCEEDED"

}

}

}


Trying to run below command gives : Client error message

ask smapi update-skill-manifest -s amzn1.ask.skill.404cbe33-d459-9ac9-b27b-gc6fb98e166 --manifest TestSkill.json

[Error]: {

"message": "Server cannot process the request due to a client error.",

"stack": "ServiceError: Server cannot process the request due to a client error.\n at SkillManagementServiceClient.<anonymous> (C:\\Users\\nitya\\AppData\\Roaming\\npm\\node_modules\\ask-cli\\node_modules\\ask-sdk-model-runtime\\dist\\index.js:335:31)\n at step (C:\\Users\\nitya\\AppData\\Roaming\\npm\\node_modules\\ask-cli\\node_modules\\ask-sdk-model-runtime\\dist\\index.js:58:23)\n at Object.next (C:\\Users\\nitya\\AppData\\Roaming\\npm\\node_modules\\ask-cli\\node_modules\\ask-sdk-model-runtime\\dist\\index.js:39:53)\n at fulfilled (C:\\Users\\nitya\\AppData\\Roaming\\npm\\node_modules\\ask-cli\\node_modules\\ask-sdk-model-runtime\\dist\\index.js:30:58)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)"

}

If above command is Successful then the developer console will now have some data regarding the client id and secret we will need to send the proactive events.

I'm just one step away from Preparing to send proactive events to Alexa and Calling the ProactiveEvents API. Please help me with this.


alexa voice serviceapinotificationsproactive events
1 comment
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Even i want a answer for this... tried some variation in commands but can't track


0 Likes 0 ·

0 Answers