While fetching margin calculator data, getting an error as "Internal error AB200"."1


  • [E 240608 15:34:58 smartConnect:243] Error occurred while making a POST request to https://apiconnect.angelbroking.com/rest/secure/angelbroking/brokerage/v1/estimateCharges. Error: Internal Error. URL: https://apiconnect.angelbroking.com/rest/secure/angelbroking/brokerage/v1/estimateCharges, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': '74:4c:a1:77:99:6e', 'Accept': 'application/json', 'X-PrivateKey': 'rXGk4YiU', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'orders': [{'product_type': 'INTRADAY', 'transaction_type': 'SELL', 'quantity': '15', 'price': '301', 'exchange': 'NFO', 'symbol_name': 'BANKNIFTY12JUN2450300CE', 'token': '36917'}, {'product_type': 'INTRADAY', 'transaction_type': 'BUY', 'quantity': '15', 'price': '675', 'exchange': 'NFO', 'symbol_name': 'BANKNIFTY12JUN2449500CE', 'token': '36795'}, {'product_type': None, 'transaction_type': 'BUY', 'quantity': '15', 'price': None, 'exchange': 'NFO', 'symbol_name': 'BANKNIFTY12JUN24PE', 'token': None}, {'product_type': None, 'transaction_type': 'SELL', 'quantity': '30', 'price': None, 'exchange': 'NFO', 'symbol_name': 'BANKNIFTY12JUN24PE', 'token': None}]}, Response: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}
    [I 240608 15:34:58 margin2:98] Estimated Charges: {'message': 'Internal Error', 'errorcode': 'AB2001', 'status': False, 'data': None}```


  • Hello @JayeshMestri

    Kindly Check and cofirm that you are using the updated TLS version or not ?

    Regards,
    SmartAPI Team


  • could you please share the code?