alexa-samples / alexa-smarthome

Resources for Alexa Smart Home developers.
https://alexa.design/smarthome
Other
682 stars 336 forks source link

ChannelController: Voice Response Failure #76

Closed kakarlavinodkumar closed 5 years ago

kakarlavinodkumar commented 6 years ago

I Performed alexa Changing Channel by following instructions carefully.Code Performing The required action and returning response with status code 200.but the device (voice)saying that "the device is not responding", even though the action is done from our side.

This is the response sent from our server to alexa:

{ "event": { "header": { "namespace": "Alexa.ChannelController", "name": "Response", "payloadVersion": "3", "messageId": "6586f8a4-f1aa-493f-900f-b1d45c81463f", "correlationToken": "AAAAAAAAAQDumdhU6itv7gJB7WW1JpnDBAIAAAAAAABG3Omg82jiDuv4tuMkKw1kcpYDv89YalhaOtYiqS227HkH4OK7ONE1borc3QVQO3ReZxOdgk6oj/VljIdx5f8W5MzuoWlenWatbz4C0m4hJUpQ34h5aDpOm6Jv4sfT10N0FKyuOCHoKcT381yXoNx0GJpeDz9cUIU9T82z3/DlTEc+V8OH/vmTnEM7HOuSvtLqd/LQ7SOmC/gcb9bYUTuoTKcLnQj1kjUs6JMUlGDa+x7e9S3TbZ4mBTJAgJxp3FV56KHSDJ6YRHu2k0/GGYl8D85+tuNHyB0LYDqG/9KE7+cqVMJvhUswGbsaKUdtjzITKFR3bRY8N56Dag94iPZLs0GXlkczkaS66oMJ2SCZUNxuoXc9RAuTyJrdK4TqKTZ4O48rcJyaDV2ds3fcXxWx1JDiKND+UundjyDAz7dhC3wr9okYRYkxmOrMjRnhB5220cvtUGA4A4PEin/cuZj7nBqJGSCgWX6ypizqLbyEmJXvpb8iJ/oBz9Q4edyjJnE8Nw6UMRZXo3zx/KexTjOCoVaYhPQaytAwnoZD4Gnm+VLzMy9xryQ4sCTKdXsic6INnQqSg3CFulc3fdHD64FmtdqX+vpMXGpVlp4QJQjY2BWcp4rLO3zWtFAJhJ9niy3+bcFIzvTdY7AIINnMBotLwV0MBkMiMxUgdJ7kq7R6Ccvh1c4=" }, "endpoint": { "scope": { "type": "BearerToken", "token": "14a6152c4da3b113a0f5c459ad96e2d67aaf0652" }, "endpointId": "5ad439c641b0726ebce0f402", "cookie": { "remote_codeset": "5acc47f9dd93b581afc4c8fa", "paired_ud": "5abf80ab0ae3eb59845fd234", "kd_id": "6001941a64a4", "type": "irApp" } }, "payload": {} }, "context": { "properties": [ { "namespace": "Alexa.ChannelController", "name": "channel", "value": { "number": "200" }, "timeOfSample": "Thu Jun 07 2018 16:55:50 GMT+0530 (India Standard Time)", "uncertaintyInMilliseconds": 0 } ] } }

madgeni commented 5 years ago

Is it the timeOfSample? From the docs: The time at which the property value was sampled in ISO 8601 format, and specified in UTC. Example: "YYYY-MM-DDThh:mm:ss.sD"

mikemaas-amazon commented 5 years ago

Yeah, that timeOfSample is in the wrong format. @madgeni has the correct answer.