Navigation

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

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

    Python SDK
    0
    3
    18
    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.
    • J
      JayeshMestri last edited by

      [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}```

      M 1 Reply Last reply Reply Quote 0
      • D
        Deepak8052 last edited by

        could you please share the code?

        1 Reply Last reply Reply Quote 0
        • M
          Moderator_3 @JayeshMestri last edited by

          Hello @JayeshMestri

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

          Regards,
          SmartAPI Team

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