For AI agents: the documentation index is at /llms.txt, and this page is available as Markdown at /api/websocket/market-data/error.md.

Error

Receive
/v1/defi/market
Server

Server-side error message describing why a request was rejected.

Code Sample
const socket = new WebSocket("wss://api.truemarkets.co/v1/defi/market");socket.addEventListener("message", (event) => {  console.log(event.data);});

Messages

  1. payload
type*"error"
Value in"error"
status*"error"
Value in"error"
timestamp*integer
Formatint64
message?string

Human-readable error description.

Example
{  "type": "error",  "status": "error",  "timestamp": 0,  "message": "string"}