alexa_rust
alexa_rust copied to clipboard
ResolutionsPerAuthority type fails to deserialize when there is no match
It is common on failed matches for Alexa to send a request that looks like:
...
"resolutionsPerAuthority": [
{
"authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill....",
"status": {
"code": "ER_SUCCESS_NO_MATCH"
}
}
]
...
Attempting to deserialize this to the types in this crate will give the error:
Error("missing field `values`", line: 0, column: 0)