Could someone please give me a hint, whats wrong with the response? Alexa says, that the device is currently not working and I can't figure out why.
That is the request received in the lambda function:
{ "directive": { "header": { "payloadVersion": "3", "correlationToken": "...", "namespace": "Alexa.SceneController", "name": "Activate", "messageId": "b8ce274d-f75e-4a0a-9bb7-44d55ea58a0e" }, "endpoint": { "scope": { "token": "...", "type": "BearerToken" }, "cookie": {}, "endpointId": "scene-001" }, "payload": {} } }
And this is the response sent (also tried with context {}).
{ "event": { "header": { "payloadVersion": "3", "correlationToken": "...", "namespace": "Alexa", "name": "Response", "messageId": "6d1dc14b-1aef-4879-8d87-47ecb7de8f2b" }, "endpoint": { "scope": { "token": "access-token-from-Amazon", "type": "BearerToken" }, "endpointId": "scene-001" }, "payload": { "timestamp": "2019-02-09T13:52:32.00Z", "cause": { "type": "VOICE_INTERACTION" } } }, "context": { "properties": [ { "value": { "value": "OK" }, "uncertaintyInMilliseconds": 500, "namespace": "Alexa.EndpointHealth", "name": "connectivity", "timeOfSample": "2019-02-09T13:52:32.00Z" } ] } }
Thanks
Christian