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.
- Confirm the WS connection. Try sending a PING and see if you receive a PONG response as an example.
- Confirm if the listenkey - Try doing a POST api/v3/userDataStream to make sure the key is correct.
- Renewing the listenkey- A listen key is only valid for a certain amount of time. Please try to renew the listenkey and try again.
- 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.
Thank you for answer