question

Andrew W Harteveldt avatar image
Andrew W Harteveldt asked

Alexa app says "There was a problem" when controlling a device, even though all was good!

alexa skills kitdevices
10 |5000

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

Jenn@amazon avatar image
Jenn@amazon answered

Even though the request was successful to the device, it sounds like the confirmation response to Alexa wasn't correct.

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.

@Jenn@amazon

I am still seeing this issue, and have validated my response. I don't see any issue on our side. We holding off launching our v3 service as this will drive calls into our customer care team. In addition, we have customers in Canada that are awaiting our CA support, but we are unable to submit our existing COHO Skill for certification as all certifications are required to be COHO v3 now.

Please could you help us out ASAP as this has been going on a long time now.

Regards,

Andrew & Team.

0 Likes 0 ·
HCA Dev Team avatar image
HCA Dev Team answered

Ok, this is the message received.

{
    "directive": {
        "header": {
            "namespace": "Alexa.PowerController",
            "name": "TurnOn",
            "payloadVersion": "3",
            "messageId": "c947f788-b591-40a5-a9b8-3d8d2a9a9069",
            "correlationToken": "ctokenremoved"
        },
        "endpoint": {
            "scope": {
                "type": "BearerToken",
                "token": "tokenremoved"
            },
            "endpointId": "BFRGG-36DT8-18",
            "cookie": {
                "objecttypetype": "Switch",
                "supportDim": "true",
                "identifier": "18",
                "wattage": "0",
                "folder": "Theater",
                "instanceID": "440",
                "hcaref": "design",
                "objecttypeid": "1",
                "name": "Theater Ring Lights",
                "typeid": "0",
                "typetype": "device"
            }
        },
        "payload": {}
    }
}

and this is the response I send:

{
    "context": {
        "properties": [
            {
                "namespace": "Alexa.PowerController",
                "name": "powerState",
                "value": "ON",
                "timeOfSample": "2017-11-30T00:30:31.671Z",
                "uncertaintyInMilliseconds": 0
            },
            {
                "namespace": "Alexa.EndpointHealth",
                "name": "connectivity",
                "value": {
                    "value": "OK"
                },
                "timeOfSample": "2017-11-30T00:30:31.671Z",
                "uncertaintyInMilliseconds": 0
            },
            {
                "namespace": "Alexa.PowerLevelController",
                "name": "powerLevel",
                "value": 100,
                "timeOfSample": "2017-11-30T00:30:31.671Z",
                "uncertaintyInMilliseconds": 0
            }
        ]
    },
    "event": {
        "header": {
            "messageId": "f7379c61-69a0-45b4-8847-db8ed17d867d",
            "namespace": "Alexa",
            "name": "Response",
            "payloadVersion": "3",
            "correlationToken": "ctokenremoved"
        },
        "endpoint": {
            "scope": {
                "type": "BearerToken",
                "token": "tokenremoved"
            },
            "endpointId": "BFRGG-36DT8-18",
            "cookie": {
                "objecttypetype": "Switch",
                "supportDim": "true",
                "identifier": "18",
                "wattage": "0",
                "folder": "Theater",
                "instanceID": "440",
                "hcaref": "design",
                "objecttypeid": "1",
                "name": "Theater Ring Lights",
                "typeid": "0",
                "typetype": "device"
            }
        },
        "payload": {}
    }
}
10 |5000

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

nickmadge avatar image
nickmadge answered

have you tried it without the powerlevelController properties?

10 |5000

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

HCA Dev Team avatar image
HCA Dev Team answered

Yes, have tried also as some devices that are non dimmable are just PowerControllers.

10 |5000

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

Jenn@amazon avatar image
Jenn@amazon answered

Really strange... I copied your Response JSON into a Test SmartHome Skill and Alexa replies with an 'OK' to the Request.

Can you share the Skill ID so I can dig into a bit more?

10 |5000

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

HCA Dev Team avatar image
HCA Dev Team answered

Sure, and yes it is very strange. Note that Alexa says OK, but when performed through the Alexa app is where I have the issue.

Skill ID: amzn1.ask.skill.ef3e0047-0258-44ad-a2c6-4b8792813b35

Also, as an FYI, when I connect to my existing V2 COHO skill the message is not displayed, so this is definetly something that is V3 specific.

10 |5000

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

HCA Dev Team avatar image
HCA Dev Team answered

Still need assistance with this!

10 |5000

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

Andreas Richiger avatar image
Andreas Richiger answered

This seems to be a similar problem I asked for in How must response look like if Retrievable==false and ProactivelyReported==false?

The error message "There was a Problem" pops up in the alexa-app a couple of seconds after a smart home device has been operated via the app (click) on light bulp icon.

10 |5000

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

HCA Dev Team avatar image
HCA Dev Team answered

@Andi This is indeed the same issue I have. Did you get a solution to this?

10 |5000

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

Matias B avatar image
Matias B answered

Same issue. Alexa Support Team didn't give any answer

10 |5000

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