{'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}


  • Getting Error while placing Buy or Sell order

            orderparams = {
                "variety": "NORMAL",
                "transactiontype": "SELL",
                "ordertype": "MARKET",
                "producttype": "CARRYFORWARD",
                "duration": "DAY",
                "exchangee": "NFO",
                "tradingsymbol": "BANKNIFTY24APR24FUT",
                "symboltoken": "52220",
                "quantity": "15"
            }
    

    [E 240415 11:40:32 smartConnect:352] API request failed: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}

    Please let me know what is wrong.


  • @Moderator_1 Thank you. The issue got resolved


  • Hello @abhijitpa1992,

    You're sending an extra e in the key exchange. It should be exchange as mentioned in the documentation. Please correct the typo and you'd be able to place your orders.
    Please let us know if you have any other issue.

    Thank you.

    Regards
    SmartAPI Team