question

xiaomi.opl_015 avatar image
xiaomi.opl_015 asked

skill unabled to discover devices

Our skill was working normally, but recently suddenly we couldn't find the device, and when I checked the logs, I found that the following log appeared:

{
    "event": {
        "endpoint": {
            "endpointId": "INVALID",
            "scope": {
                "type": "BearerToken",
                "token": "INVALID"
            }
        },
        "payload": {
            "endpoints": [
                {
                    "displayCategories": [
                        "SWITCH"
                    ],
                    "capabilities": [
                        {
                            "type": "AlexaInterface",
                            "interface": "Alexa",
                            "version": "3",
                            "retrievable": true,
                            "proactivelyReported": true
                        },
                        {
                            "type": "AlexaInterface",
                            "interface": "Alexa.PowerController",
                            "version": "3",
                            "retrievable": true,
                            "properties": {
                                "supported": [
                                    {
                                        "name": "powerState"
                                    }
                                ]
                            },
                            "proactivelyReported": true
                        },
                        {
                            "type": "AlexaInterface",
                            "interface": "Alexa.EndpointHealth",
                            "version": "3",
                            "retrievable": true,
                            "properties": {
                                "supported": [
                                    {
                                        "name": "connectivity"
                                    }
                                ]
                            },
                            "proactivelyReported": true
                        }
                    ],
                    "manufacturerName": "xxxxx",
                    "endpointId": "Sz3WDZw4YTsWvU9lxP8n000000&RMROBOTR30I000201943",
                    "description": "xxxx robot cleaner",
                    "friendlyName": "EVE"
                }
            ]
        },
        "header": {
            "payloadVersion": "3",
            "namespace": "Alexa.Discovery",
            "name": "Discover.Response",
            "messageId": "3f174834-203d-49c5-889b-0535c17e2fa3"
        }
    }
}

Is it because the endpoint invalid prevents the device from being discovered?

or some other reasons? How should I fix this?

thanks.

lambdaalexa skillsdevice discovery
10 |5000

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

0 Answers