Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions content/en/methods/streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,25 @@ An example filter change by the user:
Note that the `payload` property is not present for `filters_changed` events. And for `delete` and `announcements.delete` the payload is a string, not an object.
{{</hint>}}

## Error responses

For HTTP requests to a non-existent streaming endpoint, the streaming server will respond with an HTTP 400 and a JSON body describing the error:

```json
{
"error": "Unknown channel requested"
}
```

For invalid requests within the WebSocket (for example, an incorrect stream name), the server will respond with error JSON:

```json
{
"error": "Unknown stream type",
"status":400
}
```

## See also

### Streaming server
Expand Down