You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/methods/streaming.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -687,6 +687,25 @@ An example filter change by the user:
687
687
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.
688
688
{{</hint>}}
689
689
690
+
## Error responses
691
+
692
+
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:
693
+
694
+
```json
695
+
{
696
+
"error": "Unknown channel requested"
697
+
}
698
+
```
699
+
700
+
For invalid requests within the WebSocket (for example, an incorrect stream name), the server will respond with error JSON:
0 commit comments