Get started
HTTP 422

Invalid stream subscription

A WebSocket subscription message was not accepted.

"type": "https://ohlc.io/problems/invalid-subscription"

Why it happens

  • More than 100 symbols changed in one message.
  • A subscribe or unsubscribe message whose symbols is missing, null or an empty list.
  • An unknown subscription operation.

How to fix it

  • Send subscribe or unsubscribe with 1 to 100 symbols per message. See streaming.

All problem types