alexa-samples / alexa-smarthome

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

Update json schema to validate new alexa reports #100

Closed Agilulfo closed 10 months ago

Agilulfo commented 5 years ago

The following Alexa events are not validated by the provided json schema: https://developer.amazon.com/docs/device-apis/alexa-discovery.html#addorupdatereport https://developer.amazon.com/docs/device-apis/alexa-discovery.html#deletereport

nathanguk commented 5 years ago

I think I'm having the same issue when using the schema described in both the addOrDeleteReport or deleteReport documentation, the Alexa events api endpoint returns the following error

"payload": { "code": "INVALID_REQUEST_EXCEPTION", "description": "Event or endpoint is missing in the resquest." }

mnathsandeep commented 4 years ago

Hi did you find solution for this, iam using the latest schema (http://json-schema.org/draft-06/schema#) but still problem exists

dievaa commented 10 months ago

I tested the schema from the documentation and they both work fine. If you are still having issues, please share with the Customer ID and Timestamp in UTC of a recent error. If you are using Postman, please also send me what you set in the “Headers” and “Body”.