Cancel Order Response : Bad Input


  • Getting the below Error, When Iam trying to Cancel the AMO order through the API.
    Input Data:

    { variety: 'NORMAL', orderid: '240408001401296' }
    

    Result:

    {
      status: false,
      message: 'Cancel Order Response : Bad Input',
      errorcode: 'AB1007',
      data: { orderid: '240408001401296', uniqueorderid: '240408001401296' }
    }
    

  • Hello @manojhebbani,

    Can you please share the time stamp when you tried to cancel the AMO order? AMO orders cannot be cancelled between 8:30 AM and 9:15 AM.
    Also what was the instrument which you were trying to cancel the order?
    Please share so that we can look further into it.
    Thank you.

    Regards
    SmartAPI Team