gRPC Error Handling
This section describes the standard gRPC error codes returned by Match-Trade streaming services (Broker-API, Trading-API). These errors represent both business-level validation issues and infrastructure-level problems. Understanding them helps developers quickly identify the root cause of connection failures and build more resilient integrations.
Common gRPC Stream Errors
Below is a list of the most common errors you may encounter when opening or maintaining a gRPC stream.
Stream Behavior and Operational Details
Heartbeat Messages
To avoid silent disconnects caused by proxies (e.g., Cloudflare, Nginx) that close idle connections, all Match-Trade streams send a heartbeat every 60 seconds. This may be an empty message or a message with heartbeat=true.
Server-Side Disconnects on Critical Errors
If the server detects a critical inconsistency (e.g., incorrect evaluation status in Prop Trading), it may intentionally close the stream to prevent sending corrupted or partial data.
What made this section unhelpful for you?
On this page
- gRPC Error Handling