jovotech / jovo-cli

🛠 Command Line Interface for the Jovo Framework: Makes voice experience deployment a breeze, including features like local development and staging.
https://www.jovo.tech/marketplace/jovo-cli
Apache License 2.0
57 stars 31 forks source link

smapiUpdateSkill:Server cannot process the request due to a client error. #179

Open EthanDev opened 3 years ago

EthanDev commented 3 years ago

I'm submitting a...

Expected Behavior

Should be able to deploy using jovo deploy

Current Behavior

Deploying project...

Deploying Alexa Skill (stage: test) × Updating Alexa Skill project for ASK profile default Deploying Interaction Model, waiting for build Enabling skill for testing » Error: There was a problem: » » [ERR] smapiUpdateSkill:Server cannot process the request due to a client error. » » Module: jovo-cli-platform-alexa »

Error log

If you have an error log, please paste it here.

Your Environment

rubenaeg commented 3 years ago

Hey @EthanDev, what's your process here? Could you post your project.js?

EthanDev commented 3 years ago

Sure

EthanDev commented 3 years ago

`// ------------------------------------------------------------------ // JOVO PROJECT CONFIGURATION // ------------------------------------------------------------------

module.exports = { "defaultStage": "dev", "stages": { "dev": { "endpoint": '${JOVO_WEBHOOK_URL}', "languageModel": { 'en-US': { "invocation": 'v. o. expert dev', }, }, "alexaSkill": { "nlu": 'alexa', "skillId": '{redacted}', "manifest": { "publishingInformation": { "locales": { "en-US": { "name": "VO expert dev" } } }, "apis": { "custom": { "interfaces": [{ "type": 'ALEXA_PRESENTATION_APL' }, { "type": 'CAN_FULFILL_INTENT_REQUEST' } ] } } } }, "config": { "db": { "FileDb": { "pathToFile": '../db/db.json', }, }, } }, "test": { "host": { "lambda": { "arn": "arn:aws:lambda:us-east-1:{redacted}:function:VO-Helper-TEST", "askProfile": "default" } }, "languageModel": { 'en-US': { "invocation": 'v. o. expert test', }, }, "alexaSkill": { "nlu": "alexa", "skillId": "{redacted}", "manifest": { "publishingInformation": { "locales": { "en-US": { "name": "VO expert test" } } }, "apis": { "custom": { "interfaces": [{ "type": 'ALEXA_PRESENTATION_APL' }, { "type": 'CAN_FULFILL_INTENT_REQUEST' } ] } } } }, "config": { "db": { "type": "dynamodb", "tableName": "VO-HELPER-TEST" } } }, "prod": { "host": { "lambda": { "arn": "arn:aws:lambda:us-east-1:{redacted}:function:VO-Helper-PROD", "askProfile": "default" } }, "languageModel": { 'en-US': { "invocation": 'v. o. expert', }, }, "alexaSkill": { "nlu": "alexa", "skillId": "{redacted}", "manifest": { "publishingInformation": { "locales": { "en-US": { "name": "VO expert prod" } } }, "apis": { "custom": { "interfaces": [{ "type": 'ALEXA_PRESENTATION_APL' }, { "type": 'CAN_FULFILL_INTENT_REQUEST' } ] } } } }, "config": { "db": { "type": "dynamodb", "tableName": "VO-HELPER-PROD" } } } } };`

EthanDev commented 3 years ago

@rubenaeg see above project.js

rmtuckerphx commented 3 years ago

Has this been resolved?

I'm seeing it with: Jovo CLI v3.2.1 ASK CLI v2.22.4 Windows 10

It happens executing: jovo deploy --stage prod -t info

ZhymonNorman commented 3 years ago

Also hitting this as well on MacOS

rubenaeg commented 3 years ago

Hey everyone, sorry this got kind of lost in all the preparations for v4. We'll publish a new version for v3 of the Jovo CLI soon that will address these issues :+1: