When I placed an order, but didn't receive message from websocket

Q: How to debug this problem?

If your websocket is not receiving the order payload, here is a checklist to troubleshoot where the problem might be.

  1. Confirm the WS connection. Try sending a PING and see if you receive a PONG response as an example.
  2. Confirm if the listenkey - Try doing a POST api/v3/userDataStream to make sure the key is correct.
  3. Renewing the listenkey- A listen key is only valid for a certain amount of time. Please try to renew the listenkey and try again.
  4. Check if the order was actually created - Query the order and see if the order exists. It’s possible the order never got created in the first place.
1 Like

Thank you for answer :slight_smile: