---
page_type: error
code: 31951
message: "31951: Stream - Protocol - Invalid Message"
level: WARNING
product: Programmable Voice
---

## Description

The Streamer has received a message non compliant with the protocol (This error is sent once per stream)

### Possible Causes

- Message does not have JSON format
- Unknown message type
- Missing or extra field in message
- Wrong Stream SID used in message

### Possible Solutions

- Validate message is compliant with Stream protocols
- Validate message is a valid JSON