Navigation

    SmartAPI Forum
    • Register
    • Login
    • Search
    • Categories
    • Popular
    • Groups
    • FAQs
    • API Docs

    cancelOrder function doesn't work

    NodeJS SDK
    0
    2
    19
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User last edited by

      When I try to cancel an active open order using the cancelOrder() function, I get this error

      c.angelbroking.smartapi.SmartConnect - JSONObject["data"] is not a JSONObject (class org.json.JSONObject$Null : null).

      What could be the reason for the same?

      1 Reply Last reply Reply Quote 0
      • A
        admin last edited by

        @prrmod we tried at our end. It is working fine.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post