Postback URL is not working for us

ttsdev
If I hit the configured Postback URL directly in browser, I see request in our access logs but when I have order in COMPLETE, CANCEL, REJECTED, UPDATE state I do not see any Postback request coming to our access logs. Earlier it was working but in last few days I have seen it not working for us. Is there any scenario where Zerodha blocks Postback URL for a specific Api Key. If yes, please let me know if you can unblock the same at your end. Please help us resolving the issue.

Tagged:
  • nagavenij
    nagavenij edited October 24
    We have verified the behavior on our end, and it is working as expected. You may debug the code to help identify the root cause.
  • ttsdev
    When I login I can see Redirect URL reaching to our Web Server, I can see the request in Web Server logs. But when I place an open order and later cancel it. I do not see CANCEL Postback request in Web Server Logs. Please refer #251029200704170 order id, also refer attached order history screenshot.


  • nagavenij
    Please verify whether you are placing the orders using the app’s API key. You will receive notifications only if the orders are placed through that key. You can refer to the API documentation.
  • ttsdev
    Yes, you are right. When I placed order using API and later cancelled it from Kite, I received CANCEL Postback. Thank you for your quick assistance.
  • ttsdev
    I want to understand one more scenario, when I place an open order on IDEA-EQ at 9.00 price using my API. Later I modify price from Kite to 9.05, I do not get UPDATE Postback. I again modify price from Kite to 9.10, I get UPDATE Postback for 9.05. If I take it further and modify price from Kite to 9.15, I get UPDATE Postback for 9.10. Can you help me why I always get an older UPDATE Postback.
  • nagavenij
    We're checking this and will provide an update shortly.
  • ttsdev
    @nagavenij Let me know if you need any additional information on above use case.
  • nagavenij
    We are checking this and will get back to you with an update shortly.
  • dinezh
    dinezh edited November 6
    I am an Individual user using https url still I will not get order updates through postback/webhook to my https url?
  • nagavenij
    @ttsdev We have raised this issue with the concerned team. In the meantime, the suggested workaround is to use the postback message as a trigger to fetch the order book and verify the latest details, or alternatively, fetch the order history and check the most recent entry.
  • dinezh
    dinezh edited November 7
    @nagavenij http SSE order updates would be nicer or we have to fetch the order details multiple times to confirm the state of the order.
Sign In or Register to comment.