Bixby - All actions are routed to LAUNCH


#1

Hey everyone,

I downloaded the hello world tutorial application and it looks like no matter what I say it always routes to the LAUNCH handler of the app.js. Here’s the steps I followed

  1. Downloaded the tutorial from git hub as a zip https://github.com/jovotech/jovo-bixby-capsule-example
  2. Unziped and performed jovo update in the folder
  3. Performed jovo deploy --target zip
  4. Uploaded the zip to a lambda
  5. Replaced the config.default.remote.url in the capsule.properties with a url that points to the lamda
  6. Run the bibxy simulator with “open jovo test capsule” and it responds with “Hello world! What’s your name?”
  7. Tell the simulator “i am max” and it responds with “Hello world! What’s your name?”

If I check the cloudwatch logs, LAUNCH is called everytime no matter what I say. If I debug the bixby simulator, it is firing off the MyNameIsAction and has the ?intent=MyNameIsIntent attached to the url

Here’s the request that is sent when I say “i am max”
> “JOVO_PREV_RESPONSE”: {

            "_JOVO_SPEECH_": "Hello World! What's your name?",
            "_JOVO_LAYOUT_": {
                "$id": null,
                "$type": "playground.jovo_test.JovoLayout"
            },
            "_JOVO_SESSION_DATA_": {
                "_JOVO_SESSION_ID_": "e7f61893acc14260e412f78846967e0b2e03d7fa988c8fbfef10481c2b9f0248",
                "$id": null,
                "$type": "playground.jovo_test.JovoSessionData"
            },
            "$id": null,
            "$type": "playground.jovo_test.JovoResponse"
        },
        "_JOVO_INPUT_name": "max",
        "$vivContext": {
            "clientAppVersion": null,
            "is24HourFormat": false,
            "timezone": "America/Los_Angeles",
            "screenLocked": false,
            "sessionId": "e7f61893acc14260e412f78846967e0b2e03d7fa988c8fbfef10481c2b9f0248",
            "locale": "en-US",
            "clientAppId": null,
            "userId": "fe9aecd87491c1d43818060275a1bb4ff4edf3a8135c729438df0352a4b9d6c7",
            "canTypeId": "bixby-mobile-en-US",
            "handsFree": false,
            "bixbyUserId": "tU6zhty62f4uKDlHFnTPPym0wgB2LcyMj7T55cxGm6g",
            "grantedPermissions": {
                "bixby-user-id-access": true
            },
            "device": "bixby-mobile",
            "allowLockScreenExecution": false
        }

Any ideas?


#2

Hey @thecdonley,

could you post the logs for both the LAUNCH request and the MyNameIs request here?


#3

Here’s the LAUNCH request

"$vivContext": {
        "clientAppVersion": null,
        "is24HourFormat": false,
        "timezone": "America/Los_Angeles",
        "screenLocked": false,
        "sessionId": "e7f61893acc14260e412f78846967e0b2e03d7fa988c8fbfef10481c2b9f0248",
        "locale": "en-US",
        "clientAppId": null,
        "userId": "fe9aecd87491c1d43818060275a1bb4ff4edf3a8135c729438df0352a4b9d6c7",
        "canTypeId": "bixby-mobile-en-US",
        "handsFree": false,
        "bixbyUserId": "tU6zhty62f4uKDlHFnTPPym0wgB2LcyMj7T55cxGm6g",
        "grantedPermissions": {
            "bixby-user-id-access": true
        },
        "device": "bixby-mobile",
        "allowLockScreenExecution": false
    }

and here’s the MyNameIs request

"_JOVO_PREV_RESPONSE_": {
        "_JOVO_SPEECH_": "Hello World! What's your name?",
        "_JOVO_LAYOUT_": {
            "$id": null,
            "$type": "playground.jovo_test.JovoLayout"
        },
        "_JOVO_SESSION_DATA_": {
            "_JOVO_SESSION_ID_": "e7f61893acc14260e412f78846967e0b2e03d7fa988c8fbfef10481c2b9f0248",
            "$id": null,
            "$type": "playground.jovo_test.JovoSessionData"
        },
        "$id": null,
        "$type": "playground.jovo_test.JovoResponse"
    },
    "_JOVO_INPUT_name": "max",
    "$vivContext": {
        "clientAppVersion": null,
        "is24HourFormat": false,
        "timezone": "America/Los_Angeles",
        "screenLocked": false,
        "sessionId": "e7f61893acc14260e412f78846967e0b2e03d7fa988c8fbfef10481c2b9f0248",
        "locale": "en-US",
        "clientAppId": null,
        "userId": "fe9aecd87491c1d43818060275a1bb4ff4edf3a8135c729438df0352a4b9d6c7",
        "canTypeId": "bixby-mobile-en-US",
        "handsFree": false,
        "bixbyUserId": "tU6zhty62f4uKDlHFnTPPym0wgB2LcyMj7T55cxGm6g",
        "grantedPermissions": {
            "bixby-user-id-access": true
        },
        "device": "bixby-mobile",
        "allowLockScreenExecution": false
    }

#4

Was able to work this out with Ruben

The issue was for Bixby you have to check the Use Lambda Proxy integration box in the API gateway. Intents work fine now