I'm trying to send async report to alexa event gateway but receiving 400 error.
Can't figure out whats wrong with the JSON when I have literally copied the exact template from the official docs
I'm even sending Authorization header with the oauth token
{ "event": { "header": { "namespace": "Alexa.Discovery", "name": "AddOrUpdateReport", "payloadVersion": "3", "messageId": "abc-123-def-456" }, "payload": { "endpoints": [ { "endpointId": "appliance-001", "friendlyName": "Living Room Light", "description": "COB Light", "manufacturerName": "dummy", "displayCategories": [ "LIGHT" ], "capabilities": [ { "type": "AlexaInterface", "interface": "Alexa.ColorTemperatureController", "version": "3", "properties": { "supported": [ { "name": "colorTemperatureInKelvin" } ], "proactivelyReported": "true", "retrievable": "true" } }, { "type": "AlexaInterface", "interface": "Alexa.EndpointHealth", "version": "3", "properties": { "supported": [ { "name": "connectivity" } ], "proactivelyReported": "true", "retrievable": "true" } }, { "type": "AlexaInterface", "interface": "Alexa", "version": "3" }, { "type": "AlexaInterface", "interface": "Alexa.ColorController", "version": "3", "properties": { "supported": [ { "name": "color" } ], "proactivelyReported": "true", "retrievable": "true" } }, { "type": "AlexaInterface", "interface": "Alexa.PowerController", "version": "3", "properties": { "supported": [ { "name": "powerState" } ], "proactivelyReported": "true", "retrievable": "true" } }, { "type": "AlexaInterface", "interface": "Alexa.BrightnessController", "version": "3", "properties": { "supported": [ { "name": "brightness" } ], "proactivelyReported": "true", "retrievable": "true" } } ], }, { "endpointId": "appliance-002", "friendlyName": "Bedroom Panel", "description": "Touch Based Bedroom Panel", "manufacturerName": "Dummy", "displayCategories": [ "SWITCH" ], "capabilities": [ { "type": "AlexaInterface", "interface": "Alexa.EndpointHealth", "version": "3", "properties": { "supported": [ { "name": "connectivity" } ], "proactivelyReported": "true", "retrievable": "true" } }, { "type": "AlexaInterface", "interface": "Alexa", "version": "3" }, { "type": "AlexaInterface", "interface": "Alexa.PowerController", "version": "3", "properties": { "supported": [ { "name": "powerState" } ], "proactivelyReported": "true", "retrievable": "true" } }, ] }, ], "scope": { "type": "BearerToken", "token": "FdeTi6Q2YJobuRU0dToXU2EwFRKHrW" } } } }