gateio / WebSocket-API

gateio WebSocket-API
56 stars 32 forks source link

request payload does not follow json schema #20

Closed ShrimpyPhil closed 3 years ago

ShrimpyPhil commented 3 years ago

Hi,

I am sending the following request through the API v4:

{ "time": "1626964798", "channel": "spot.trades", "event": "subscribe", "payload": [ "LTC_USDT" ] }

I get the following response: { "time": 1626965030, "channel": "", "event": "", "error": {"code": 1, "message": "request payload does not follow json schema" }, "result": null }

(please ignore timestamps, I may have pulled the message from a different try, but same message each time)

Any advice on what I am doing wrong?

ShrimpyPhil commented 3 years ago

Sorry, posted on wrong repository, I have moved it.